From: Liu Ying Date: Mon, 2 Jul 2012 09:00:49 +0000 (+0800) Subject: ENGR00215531-5 V4L2:OV5642:Correct sensor data attribute X-Git-Tag: v3.0.35-fsl~804 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=caa30d0026270e237c459286878bd8dab6ed790a;p=karo-tx-linux.git ENGR00215531-5 V4L2:OV5642: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/ov5642.c b/drivers/media/video/mxc/capture/ov5642.c index a503bd0894dc..d5920b8197ac 100644 --- a/drivers/media/video/mxc/capture/ov5642.c +++ b/drivers/media/video/mxc/capture/ov5642.c @@ -80,7 +80,7 @@ struct ov5642_mode_info { /*! * Maintains the information on the current state of the sesor. */ -struct sensor_data ov5642_data; +static struct sensor_data ov5642_data; static struct reg_value ov5642_rotate_none_VGA[] = { {0x3818, 0xc1, 0x00, 0x00}, {0x3621, 0x87, 0x00, 0x00},