[10/11] zoran_device.c: make zr36057_init_vfe static

From: Adrian Bunk
Date: Mon Nov 08 2004 - 20:19:56 EST


The patch below makes function zr36057_init_vfe in
drivers/media/video/zoran_device.c which has no external users static.


diffstat output:
drivers/media/video/zoran_device.c | 5 ++++-
drivers/media/video/zoran_device.h | 1 -
2 files changed, 4 insertions(+), 2 deletions(-)


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

--- linux-2.6.10-rc1-mm3-full/drivers/media/video/zoran_device.h.old 2004-11-07 17:11:04.000000000 +0100
+++ linux-2.6.10-rc1-mm3-full/drivers/media/video/zoran_device.h 2004-11-07 17:11:12.000000000 +0100
@@ -79,7 +79,6 @@
int set_master);
extern void zoran_init_hardware(struct zoran *zr);
extern void zr36057_restart(struct zoran *zr);
-extern void zr36057_init_vfe(struct zoran *zr);

/* i2c */
extern int decoder_command(struct zoran *zr,
--- linux-2.6.10-rc1-mm3-full/drivers/media/video/zoran_device.c.old 2004-11-07 17:11:20.000000000 +0100
+++ linux-2.6.10-rc1-mm3-full/drivers/media/video/zoran_device.c 2004-11-07 17:12:25.000000000 +0100
@@ -80,6 +79,9 @@
MODULE_PARM_DESC(lml33dpath,
"Use digital path capture mode (on LML33 cards)");

+static void
+zr36057_init_vfe (struct zoran *zr);
+
/*
* General Purpose I/O and Guest bus access
*/
@@ -1701,7 +1703,7 @@
* initialize video front end
*/

-void
+static void
zr36057_init_vfe (struct zoran *zr)
{
u32 reg;

-
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/