From: Liu Ying Date: Mon, 2 Jul 2012 08:56:07 +0000 (+0800) Subject: ENGR00215531-2 V4L2:OV3640:Correct sensor data attribute X-Git-Tag: v3.0.35-fsl_4.1.0~965 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4a33436aec4f1532a035faf499dab46643712aa8;p=karo-tx-linux.git ENGR00215531-2 V4L2:OV3640: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/ov3640.c b/drivers/media/video/mxc/capture/ov3640.c index 69a3ad43b22c..ad5a94a18ecb 100644 --- a/drivers/media/video/mxc/capture/ov3640.c +++ b/drivers/media/video/mxc/capture/ov3640.c @@ -72,7 +72,7 @@ struct ov3640_mode_info { /*! * Maintains the information on the current state of the sesor. */ -struct sensor_data ov3640_data; +static struct sensor_data ov3640_data; static struct reg_value ov3640_setting_15fps_QXGA_2048_1536[] = { #if 0