[2.6 patch] make em28xx_capture_start() static

From: Adrian Bunk
Date: Mon Apr 28 2008 - 11:44:51 EST


em28xx_capture_start() can now become static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/