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~807 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f26fbfea986362bc1184b6222b1a40f770ce9067;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