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

index 6fddbb03fc0bff7c27a909500a249c3e11ca603a..c59faa10cb25dae2960fa06f1940cb49ad532848 100644 (file)
@@ -73,7 +73,7 @@ struct ov8820_mode_info {
 /*!
  * Maintains the information on the current state of the sesor.
  */
-struct sensor {
+static struct sensor {
        const struct ov8820_platform_data *platform_data;
        struct v4l2_int_device *v4l2_int_device;
        struct i2c_client *i2c_client;