* [2.6 patch] make mt9{m001,v022}_controls[] static
@ 2008-04-28 15:39 Adrian Bunk
2008-04-28 17:50 ` Guennadi Liakhovetski
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-04-28 15:39 UTC (permalink / raw)
To: Guennadi Liakhovetski, Mauro Carvalho Chehab
Cc: v4l-dvb-maintainer, linux-kernel
This patch makes the needlessly global mt9{m001,v022}_controls[] static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
drivers/media/video/mt9m001.c | 2 +-
drivers/media/video/mt9v022.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
d7560162fe24391e091574b08b25ac124369fb7b diff --git a/drivers/media/video/mt9m001.c b/drivers/media/video/mt9m001.c
index 3fb5f63..04864cf 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,
}
#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/drivers/media/video/mt9v022.c b/drivers/media/video/mt9v022.c
index d4b9e27..597df65 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,
}
#endif
-const struct v4l2_queryctrl mt9v022_controls[] = {
+static const struct v4l2_queryctrl mt9v022_controls[] = {
{
.id = V4L2_CID_VFLIP,
.type = V4L2_CTRL_TYPE_BOOLEAN,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] make mt9{m001,v022}_controls[] static
2008-04-28 15:39 [2.6 patch] make mt9{m001,v022}_controls[] static Adrian Bunk
@ 2008-04-28 17:50 ` Guennadi Liakhovetski
0 siblings, 0 replies; 2+ messages in thread
From: Guennadi Liakhovetski @ 2008-04-28 17:50 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Mauro Carvalho Chehab, v4l-dvb-maintainer, linux-kernel
On Mon, 28 Apr 2008, Adrian Bunk wrote:
> 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>
FWIW, Mauro, you can pull this patch from
http://linuxtv.org/hg/~gliakhovetski/v4l-dvb
Thanks
Guennadi
---
Guennadi Liakhovetski
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-28 17:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-28 15:39 [2.6 patch] make mt9{m001,v022}_controls[] static Adrian Bunk
2008-04-28 17:50 ` Guennadi Liakhovetski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®