From 2644a9ec1ca837a8508762a75f77260b789dd14b Mon Sep 17 00:00:00 2001 From: Liu Ying Date: Mon, 2 Jul 2012 17:01:10 +0800 Subject: [PATCH] ENGR00215531-6 V4L2:OV8820_mipi:Correct sensor data attribute This patch corrects sensor data struct by adding static attribute. Signed-off-by: Liu Ying --- drivers/media/video/mxc/capture/ov8820_mipi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/video/mxc/capture/ov8820_mipi.c b/drivers/media/video/mxc/capture/ov8820_mipi.c index 6fddbb03fc0b..c59faa10cb25 100644 --- a/drivers/media/video/mxc/capture/ov8820_mipi.c +++ b/drivers/media/video/mxc/capture/ov8820_mipi.c @@ -73,7 +73,7 @@ struct ov8820_mode_info { /*! * Maintains the information on the current state of the sesor. */ -struct sensor { +static struct sensor { const struct ov8820_platform_data *platform_data; struct v4l2_int_device *v4l2_int_device; struct i2c_client *i2c_client; -- 2.39.5