summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2012-07-02 16:58:13 +0800
committerLiu Ying <Ying.Liu@freescale.com>2012-07-03 09:32:41 +0800
commitaa81fdda6817f7f58e7d15624b0003f6d19a3a61 (patch)
tree60b925ab1fd96f6336c67f05f0cc72c20aff3d37
parent9d8961afd6f41bfdcef96d7a4583fc6edd0abc35 (diff)
ENGR00215531-3 V4L2:OV5640: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 c9be22e6d3dea164b31d20cad750fb4bd77b2b2f)
-rw-r--r--drivers/media/video/mxc/capture/ov5640.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mxc/capture/ov5640.c b/drivers/media/video/mxc/capture/ov5640.c
index c2dfe314c65d..f73e4f1eece0 100644
--- a/drivers/media/video/mxc/capture/ov5640.c
+++ b/drivers/media/video/mxc/capture/ov5640.c
@@ -78,7 +78,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_setting_15fps_QSXGA_2592_1944[] = {
{0x3103, 0x11, 0, 0}, {0x3008, 0x82, 0, 0}, {0x3008, 0x42, 0, 0},