]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00215531-2 V4L2:OV3640:Correct sensor data attribute
authorLiu Ying <Ying.Liu@freescale.com>
Mon, 2 Jul 2012 08:56:07 +0000 (16:56 +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/ov3640.c

index 69a3ad43b22ccac16e415257e72ebba2fad78729..ad5a94a18ecb5951b9856d9d3d7eaf716e29a613 100644 (file)
@@ -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