V4L/DVB (7785): [2.6 patch] make mt9{m001,v022}_controls[] static
authorAdrian Bunk <bunk@kernel.org>
Mon, 28 Apr 2008 20:13:51 +0000 (17:13 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 29 Apr 2008 21:41:42 +0000 (18:41 -0300)
This patch makes the needlessly global mt9{m001,v022}_controls[] static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/mt9m001.c
drivers/media/video/mt9v022.c

index 3fb5f63df1e6392e000cd7e3b94180e5bec2705d..04864cf2579cbfb2a2d6d5046337aac25b5193c7 100644 (file)
@@ -372,7 +372,7 @@ static int mt9m001_set_register(struct soc_camera_device *icd,
 }
 #endif
 
-const struct v4l2_queryctrl mt9m001_controls[] = {
+static const struct v4l2_queryctrl mt9m001_controls[] = {
        {
                .id             = V4L2_CID_VFLIP,
                .type           = V4L2_CTRL_TYPE_BOOLEAN,
index d4b9e2744343dd0dc7f48049deb2d61a9f6d0e2b..597df6582a02a22670f4e1d9172c06d2944ef52c 100644 (file)
@@ -452,7 +452,7 @@ static int mt9v022_set_register(struct soc_camera_device *icd,
 }
 #endif
 
-const struct v4l2_queryctrl mt9v022_controls[] = {
+static const struct v4l2_queryctrl mt9v022_controls[] = {
        {
                .id             = V4L2_CID_VFLIP,
                .type           = V4L2_CTRL_TYPE_BOOLEAN,