summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2012-07-02 16:58:57 +0800
committerLiu Ying <Ying.Liu@freescale.com>2012-07-03 09:32:50 +0800
commit52e92591006c43013f994f73479d94d77609eb16 (patch)
tree571cad7f49794243e84b307f32e9fc8ff131087f
parentaa81fdda6817f7f58e7d15624b0003f6d19a3a61 (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> (cherry picked from commit 6ec41710bb95620fe4f93247ba10e6c6a4928e0a)
-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 357230811058..2de7d2a23f2a 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[] = {