Skip to content

Commit

Permalink
V4L/DVB (7785): [2.6 patch] make mt9{m001,v022}_controls[] static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Mauro Carvalho Chehab committed Apr 29, 2008
1 parent 1c1e45d commit 4407a46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/media/video/mt9m001.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/mt9v022.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4407a46

Please sign in to comment.