aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-01-28 20:10:48 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-18 09:15:09 -0500
commit532fe65205253aef1ce5c0c76d2d8d303fb3fe71 (patch)
tree6b47e950076f83bda754986625b7aded99146356
parentfe2b8f50a336bcd51e3d209c5838c573b4b540b3 (diff)
V4L/DVB (7106): em28xx/: make 2 functions static
This patch makes the following needlessly global functions static: - em28xx-core.c:em28xx_write_reg_bits() - em28xx-video.c:em28xx_vdev_init() Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/video/em28xx/em28xx-core.c2
-rw-r--r--drivers/media/video/em28xx/em28xx-video.c8
-rw-r--r--drivers/media/video/em28xx/em28xx.h2
3 files changed, 5 insertions, 7 deletions
diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c
index f6b78357f0e5..41ed4be4ae01 100644
--- a/drivers/media/video/em28xx/em28xx-core.c
+++ b/drivers/media/video/em28xx/em28xx-core.c
@@ -237,7 +237,7 @@ int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len)
237 * sets only some bits (specified by bitmask) of a register, by first reading 237 * sets only some bits (specified by bitmask) of a register, by first reading
238 * the actual value 238 * the actual value
239 */ 239 */
240int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val, 240static int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val,
241 u8 bitmask) 241 u8 bitmask)
242{ 242{
243 int oldval; 243 int oldval;
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c
index a0c334672488..c4126055bec3 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -1796,10 +1796,10 @@ void em28xx_unregister_extension(struct em28xx_ops *ops)
1796} 1796}
1797EXPORT_SYMBOL(em28xx_unregister_extension); 1797EXPORT_SYMBOL(em28xx_unregister_extension);
1798 1798
1799struct video_device *em28xx_vdev_init(struct em28xx *dev, 1799static struct video_device *em28xx_vdev_init(struct em28xx *dev,
1800 const struct video_device *template, 1800 const struct video_device *template,
1801 const int type, 1801 const int type,
1802 const char *type_name) 1802 const char *type_name)
1803{ 1803{
1804 struct video_device *vfd; 1804 struct video_device *vfd;
1805 1805
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index f3bad0c1c517..9759a7330a53 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -345,8 +345,6 @@ int em28xx_read_reg(struct em28xx *dev, u16 reg);
345int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf, 345int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf,
346 int len); 346 int len);
347int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len); 347int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len);
348int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val,
349 u8 bitmask);
350int em28xx_set_audio_source(struct em28xx *dev); 348int em28xx_set_audio_source(struct em28xx *dev);
351int em28xx_audio_analog_set(struct em28xx *dev); 349int em28xx_audio_analog_set(struct em28xx *dev);
352 350