From caa30d0026270e237c459286878bd8dab6ed790a Mon Sep 17 00:00:00 2001 From: Liu Ying Date: Mon, 2 Jul 2012 17:00:49 +0800 Subject: [PATCH] ENGR00215531-5 V4L2:OV5642:Correct sensor data attribute This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying --- drivers/media/video/mxc/capture/ov5642.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}, -- 2.39.5