summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2012-07-02 17:00:49 +0800
committerLiu Ying <Ying.Liu@freescale.com>2012-07-03 09:33:05 +0800
commit774b727ac3202e3c20b8216b0bbdc99a00ea726e (patch)
treefa977796442766b8bd7dd5957938235a2e108b6f
parent52e92591006c43013f994f73479d94d77609eb16 (diff)
ENGR00215531-5 V4L2:OV5642: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 856a869d45599a19aa01e255ae85b0299748f4c9)
-rw-r--r--drivers/media/video/mxc/capture/ov5642.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mxc/capture/ov5642.c b/drivers/media/video/mxc/capture/ov5642.c
index a503bd0894dc..d5920b8197ac 100644
--- a/drivers/media/video/mxc/capture/ov5642.c
+++ b/drivers/media/video/mxc/capture/ov5642.c
@@ -80,7 +80,7 @@ struct ov5642_mode_info {
/*!
* Maintains the information on the current state of the sesor.
*/
-struct sensor_data ov5642_data;
+static struct sensor_data ov5642_data;
static struct reg_value ov5642_rotate_none_VGA[] = {
{0x3818, 0xc1, 0x00, 0x00}, {0x3621, 0x87, 0x00, 0x00},