diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2012-07-02 17:01:10 +0800 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2012-07-03 09:33:17 +0800 |
commit | 50bec9bb0ddc77f7ac559c39eca5292319e16260 (patch) | |
tree | 165ae1a4bedc1f83479d41458f9e9b5ef896b080 | |
parent | 774b727ac3202e3c20b8216b0bbdc99a00ea726e (diff) |
ENGR00215531-6 V4L2:OV8820_mipi:Correct sensor data attribute
This patch corrects sensor data struct by adding static
attribute.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 0736b94413f98c38a0b9032fd59e56ce5d47ff27)
-rw-r--r-- | drivers/media/video/mxc/capture/ov8820_mipi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mxc/capture/ov8820_mipi.c b/drivers/media/video/mxc/capture/ov8820_mipi.c index 6fddbb03fc0b..c59faa10cb25 100644 --- a/drivers/media/video/mxc/capture/ov8820_mipi.c +++ b/drivers/media/video/mxc/capture/ov8820_mipi.c @@ -73,7 +73,7 @@ struct ov8820_mode_info { /*! * Maintains the information on the current state of the sesor. */ -struct sensor { +static struct sensor { const struct ov8820_platform_data *platform_data; struct v4l2_int_device *v4l2_int_device; struct i2c_client *i2c_client; |