]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00215531-3 V4L2:OV5640:Correct sensor data attribute
authorLiu Ying <Ying.Liu@freescale.com>
Mon, 2 Jul 2012 08:58:13 +0000 (16:58 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:57 +0000 (08:34 +0200)
This patch corrects sensor data struct by adding static
attribute.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/media/video/mxc/capture/ov5640.c

index c2dfe314c65d71c1de043838f710daed8fbcbfae..f73e4f1eece08c60aec2ed71a4596ab565d044b3 100644 (file)
@@ -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},