summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2012-07-02 16:58:57 +0800
committerEric Nelson <eric.nelson@boundarydevices.com>2012-08-28 09:49:36 -0700
commit340f2ddf214c7fda9c49bb58415bb85058dc820c (patch)
treed79d1140cd029dbc505db383cca0eae2c22b7036 /drivers/media
parentbb3ddfa506fda1d643e458ec7ffae4b6304ad5a5 (diff)
ENGR00215531-4 V4L2:OV5640_mipi:Correct sensor data attribute
This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/mxc/capture/ov5640_mipi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mxc/capture/ov5640_mipi.c b/drivers/media/video/mxc/capture/ov5640_mipi.c
index 07c3e8104e0c..bc2e48032cbc 100644
--- a/drivers/media/video/mxc/capture/ov5640_mipi.c
+++ b/drivers/media/video/mxc/capture/ov5640_mipi.c
@@ -82,7 +82,7 @@ struct ov5640_mode_info {
/*!
* Maintains the information on the current state of the sesor.
*/
-struct sensor_data ov5640_data;
+static struct sensor_data ov5640_data;
static struct reg_value ov5640_init_setting_30fps_VGA[] = {