lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] make em28xx_capture_start() static
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);


\
 
 \ /
  Last update: 2008-04-28 17:47    [W:0.027 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site