From: Liu Ying Date: Mon, 2 Jul 2012 08:58:57 +0000 (+0800) Subject: ENGR00215531-4 V4L2:OV5640_mipi:Correct sensor data attribute X-Git-Tag: v3.0.35-fsl~805 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4413b066ac2288cfbe3b232c65208fef4ce341b5;p=karo-tx-linux.git ENGR00215531-4 V4L2:OV5640_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/ov5640_mipi.c b/drivers/media/video/mxc/capture/ov5640_mipi.c index 07c3e8104e0c..bc2e48032cbc 100644 --- a/drivers/media/video/mxc/capture/ov5640_mipi.c +++ b/drivers/media/video/mxc/capture/ov5640_mipi.c @@ -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[] = {