]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00215531-1 V4L2:ADV7180:Correct sensor data attribute
authorLiu Ying <Ying.Liu@freescale.com>
Mon, 2 Jul 2012 08:42:47 +0000 (16:42 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:56 +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/adv7180.c

index 1c8b7f6b3dfc201e6a6a732e31348439cb4e7c7e..18c51ba78f1efebc0287e366f34df55c72ce9131 100644 (file)
@@ -70,7 +70,7 @@ static struct i2c_driver adv7180_i2c_driver = {
 /*!
  * Maintains the information on the current state of the sensor.
  */
-struct sensor {
+static struct sensor {
        struct v4l2_int_device *v4l2_int_device;
        struct i2c_client *i2c_client;
        struct v4l2_pix_format pix;