From: Liu Ying Date: Mon, 2 Jul 2012 08:58:13 +0000 (+0800) Subject: ENGR00215531-3 V4L2:OV5640:Correct sensor data attribute X-Git-Tag: v3.0.35-fsl_4.1.0~964 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=76bd2489347129789ed2b559331dc5e3b2db0297;p=karo-tx-linux.git ENGR00215531-3 V4L2:OV5640: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.c b/drivers/media/video/mxc/capture/ov5640.c index c2dfe314c65d..f73e4f1eece0 100644 --- a/drivers/media/video/mxc/capture/ov5640.c +++ b/drivers/media/video/mxc/capture/ov5640.c @@ -78,7 +78,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_setting_15fps_QSXGA_2592_1944[] = { {0x3103, 0x11, 0, 0}, {0x3008, 0x82, 0, 0}, {0x3008, 0x42, 0, 0},