summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2012-07-02 16:56:07 +0800
committerLiu Ying <Ying.Liu@freescale.com>2012-07-03 09:32:32 +0800
commit9d8961afd6f41bfdcef96d7a4583fc6edd0abc35 (patch)
tree6fa4305a9ff0128ca97d6d5154670e5eab9c20e0
parentfc31c49d97635a11a345d5443b841d48931a970f (diff)
ENGR00215531-2 V4L2:OV3640: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 a14f5778bf1fe584a2769971f52cc3eec642fd23)
-rw-r--r--drivers/media/video/mxc/capture/ov3640.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mxc/capture/ov3640.c b/drivers/media/video/mxc/capture/ov3640.c
index 69a3ad43b22c..ad5a94a18ecb 100644
--- a/drivers/media/video/mxc/capture/ov3640.c
+++ b/drivers/media/video/mxc/capture/ov3640.c
@@ -72,7 +72,7 @@ struct ov3640_mode_info {
/*!
* Maintains the information on the current state of the sesor.
*/
-struct sensor_data ov3640_data;
+static struct sensor_data ov3640_data;
static struct reg_value ov3640_setting_15fps_QXGA_2048_1536[] = {
#if 0