]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00215531-4 V4L2:OV5640_mipi:Correct sensor data attribute
authorLiu Ying <Ying.Liu@freescale.com>
Mon, 2 Jul 2012 08:58:57 +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_mipi.c

index 07c3e8104e0c9ca7b7bee9739234b3d8ecbb2401..bc2e48032cbccfcc82f57b3652463a5b8594dacd 100644 (file)
@@ -82,7 +82,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_init_setting_30fps_VGA[] = {