]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00215531-5 V4L2:OV5642:Correct sensor data attribute
authorLiu Ying <Ying.Liu@freescale.com>
Mon, 2 Jul 2012 09:00:49 +0000 (17:00 +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/ov5642.c

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