diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-28 19:13:51 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2008-04-28 19:13:51 +0200 |
commit | 08e66b521fa213ce0eeb13db0ae6d3e61d0fc699 (patch) | |
tree | 92af703bf83f1776a7889b3e656c54a10295fa05 /linux | |
parent | c1f7e6c05cb6b34d620d7e0ad00ee9e2d16f9d61 (diff) | |
download | mediapointer-dvb-s2-08e66b521fa213ce0eeb13db0ae6d3e61d0fc699.tar.gz mediapointer-dvb-s2-08e66b521fa213ce0eeb13db0ae6d3e61d0fc699.tar.bz2 |
[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>
---
drivers/media/video/mt9m001.c | 2 +-
drivers/media/video/mt9v022.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
d7560162fe24391e091574b08b25ac124369fb7b diff --git a/linux/drivers/media/video/mt9m001.c b/linux/drivers/media/video/mt9m001.c
index 3fb5f63..04864cf 100644
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/mt9m001.c | 2 | ||||
-rw-r--r-- | linux/drivers/media/video/mt9v022.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/mt9m001.c b/linux/drivers/media/video/mt9m001.c index 3fb5f63df..04864cf25 100644 --- a/linux/drivers/media/video/mt9m001.c +++ b/linux/drivers/media/video/mt9m001.c @@ -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, diff --git a/linux/drivers/media/video/mt9v022.c b/linux/drivers/media/video/mt9v022.c index d4b9e2744..597df6582 100644 --- a/linux/drivers/media/video/mt9v022.c +++ b/linux/drivers/media/video/mt9v022.c @@ -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, |