[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080428153912.GM2813@cs181133002.pp.htv.fi>
Date: Mon, 28 Apr 2008 18:39:12 +0300
From: Adrian Bunk <bunk@...nel.org>
To: Mauro Carvalho Chehab <mchehab@...radead.org>
Cc: v4l-dvb-maintainer@...uxtv.org, linux-kernel@...r.kernel.org
Subject: [2.6 patch] make em28xx_capture_start() static
em28xx_capture_start() can now become static.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
drivers/media/video/em28xx/em28xx-core.c | 2 +-
drivers/media/video/em28xx/em28xx.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
bd1af5dee0801229ebd017be2fda03b25b4cdebb diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c
index 5d837c1..c80a665 100644
--- a/drivers/media/video/em28xx/em28xx-core.c
+++ b/drivers/media/video/em28xx/em28xx-core.c
@@ -356,7 +356,7 @@ int em28xx_colorlevels_set_default(struct em28xx *dev)
return em28xx_write_regs(dev, EM28XX_R1A_BOFFSET, "\x00", 1);
}
-int em28xx_capture_start(struct em28xx *dev, int start)
+static int em28xx_capture_start(struct em28xx *dev, int start)
{
int rc;
/* FIXME: which is the best order? */
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index 002f170..e1430a9 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -450,7 +450,6 @@ int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len);
int em28xx_audio_analog_set(struct em28xx *dev);
int em28xx_colorlevels_set_default(struct em28xx *dev);
-int em28xx_capture_start(struct em28xx *dev, int start);
int em28xx_outfmt_set_yuv422(struct em28xx *dev);
int em28xx_resolution_set(struct em28xx *dev);
int em28xx_set_alternate(struct em28xx *dev);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists