diff options
author | Michael Hunold <devnull@localhost> | 2004-11-08 08:41:59 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2004-11-08 08:41:59 +0000 |
commit | 4c1bdaf31bdb12fd6bb7d53ba39229118c61c2c3 (patch) | |
tree | 11a17dbb9b1efb12ed83bf7d2d8488edff2328aa /linux/drivers/media/dvb/ttpci/av7110.c | |
parent | b1adb56ca9f64c2cec0ba0ebb75332e51fd4ea79 (diff) | |
download | mediapointer-dvb-s2-4c1bdaf31bdb12fd6bb7d53ba39229118c61c2c3.tar.gz mediapointer-dvb-s2-4c1bdaf31bdb12fd6bb7d53ba39229118c61c2c3.tar.bz2 |
- make needlessly global code static
- whitespace and newline cleanups
Thanks to Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index a1da2a5b7..9fa22046c 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -95,8 +95,7 @@ MODULE_PARM_DESC(volume, "initial volume: default 255 (range 0-255)"); static void restart_feeds(struct av7110 *av7110); -int av7110_num = 0; - +static int av7110_num = 0; #define FE_FUNC_OVERRIDE(fe_func, av7110_copy, av7110_func) \ {\ @@ -270,15 +269,15 @@ void av7110_unregister_irc_handler(void (*func)(u32)) irc_handler = NULL; } -void run_handlers(unsigned long ircom) +static void run_handlers(unsigned long ircom) { if (irc_handler != NULL) (*irc_handler)((u32) ircom); } -DECLARE_TASKLET(irtask, run_handlers, 0); +static DECLARE_TASKLET(irtask, run_handlers, 0); -void IR_handle(struct av7110 *av7110, u32 ircom) +static void IR_handle(struct av7110 *av7110, u32 ircom) { dprintk(4, "ircommand = %08x\n", ircom); irtask.data = (unsigned long) ircom; @@ -1249,6 +1248,7 @@ int i2c_writereg(struct av7110 *av7110, u8 id, u8 reg, u8 val) return i2c_transfer(&av7110->i2c_adap, &msgs, 1); } +#if 0 u8 i2c_readreg(struct av7110 *av7110, u8 id, u8 reg) { u8 mm1[] = {0x00}; @@ -1265,6 +1265,7 @@ u8 i2c_readreg(struct av7110 *av7110, u8 id, u8 reg) return mm2[0]; } +#endif /**************************************************************************** * INITIALIZATION |