[2.6 patch] make em28xx_capture_start() static

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adrian Bunk
Date: Monday, April 28, 2008 - 8:39 am

em28xx_capture_start() can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.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);

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] make em28xx_capture_start() static, Adrian Bunk, (Mon Apr 28, 8:39 am)