Commit 4407a463 authored by Adrian Bunk's avatar Adrian Bunk Committed by Mauro Carvalho Chehab

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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 1c1e45d1
...@@ -372,7 +372,7 @@ static int mt9m001_set_register(struct soc_camera_device *icd, ...@@ -372,7 +372,7 @@ static int mt9m001_set_register(struct soc_camera_device *icd,
} }
#endif #endif
const struct v4l2_queryctrl mt9m001_controls[] = { static const struct v4l2_queryctrl mt9m001_controls[] = {
{ {
.id = V4L2_CID_VFLIP, .id = V4L2_CID_VFLIP,
.type = V4L2_CTRL_TYPE_BOOLEAN, .type = V4L2_CTRL_TYPE_BOOLEAN,
......
...@@ -452,7 +452,7 @@ static int mt9v022_set_register(struct soc_camera_device *icd, ...@@ -452,7 +452,7 @@ static int mt9v022_set_register(struct soc_camera_device *icd,
} }
#endif #endif
const struct v4l2_queryctrl mt9v022_controls[] = { static const struct v4l2_queryctrl mt9v022_controls[] = {
{ {
.id = V4L2_CID_VFLIP, .id = V4L2_CID_VFLIP,
.type = V4L2_CTRL_TYPE_BOOLEAN, .type = V4L2_CTRL_TYPE_BOOLEAN,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment