aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-28 16:13:51 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-29 17:41:42 -0400
commit4407a463dd6afc892aedfbdc4237c42136d9f848 (patch)
treed97f63e564c5c3594aec947e4ba1e21685daafd6
parent1c1e45d17b663d4749af456ab7c2fc1f36405ef8 (diff)
V4L/DVB (7785): [2.6 patch] make mt9{m001,v022}_controls[] static
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>
-rw-r--r--drivers/media/video/mt9m001.c2
-rw-r--r--drivers/media/video/mt9v022.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/mt9m001.c b/drivers/media/video/mt9m001.c
index 3fb5f63df1e6..04864cf2579c 100644
--- a/drivers/media/video/mt9m001.c
+++ b/drivers/media/video/mt9m001.c
@@ -372,7 +372,7 @@ static int mt9m001_set_register(struct soc_camera_device *icd,
372} 372}
373#endif 373#endif
374 374
375const struct v4l2_queryctrl mt9m001_controls[] = { 375static const struct v4l2_queryctrl mt9m001_controls[] = {
376 { 376 {
377 .id = V4L2_CID_VFLIP, 377 .id = V4L2_CID_VFLIP,
378 .type = V4L2_CTRL_TYPE_BOOLEAN, 378 .type = V4L2_CTRL_TYPE_BOOLEAN,
diff --git a/drivers/media/video/mt9v022.c b/drivers/media/video/mt9v022.c
index d4b9e2744343..597df6582a02 100644
--- a/drivers/media/video/mt9v022.c
+++ b/drivers/media/video/mt9v022.c
@@ -452,7 +452,7 @@ static int mt9v022_set_register(struct soc_camera_device *icd,
452} 452}
453#endif 453#endif
454 454
455const struct v4l2_queryctrl mt9v022_controls[] = { 455static const struct v4l2_queryctrl mt9v022_controls[] = {
456 { 456 {
457 .id = V4L2_CID_VFLIP, 457 .id = V4L2_CID_VFLIP,
458 .type = V4L2_CTRL_TYPE_BOOLEAN, 458 .type = V4L2_CTRL_TYPE_BOOLEAN,