From: Liu Ying Date: Mon, 2 Jul 2012 09:01:10 +0000 (+0800) Subject: ENGR00215531-6 V4L2:OV8820_mipi:Correct sensor data attribute X-Git-Tag: v3.0.35-fsl~803 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2644a9ec1ca837a8508762a75f77260b789dd14b;p=karo-tx-linux.git ENGR00215531-6 V4L2:OV8820_mipi:Correct sensor data attribute This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying --- diff --git a/drivers/media/video/mxc/capture/ov8820_mipi.c b/drivers/media/video/mxc/capture/ov8820_mipi.c index 6fddbb03fc0b..c59faa10cb25 100644 --- a/drivers/media/video/mxc/capture/ov8820_mipi.c +++ b/drivers/media/video/mxc/capture/ov8820_mipi.c @@ -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;