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