diff options
author | Michael Krufky <devnull@localhost> | 2006-01-22 18:10:39 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2006-01-22 18:10:39 +0000 |
commit | 6238396acc97694eb2b368edb78b5341dcd8c9fd (patch) | |
tree | 6a58d2f7ed92f5ffdb517ba98366eabe152ccc04 /linux/drivers/media/dvb/ttpci/av7110_ir.c | |
parent | deb202567f8ffea5e21cff6e6f6348e3522f92b9 (diff) | |
download | mediapointer-dvb-s2-6238396acc97694eb2b368edb78b5341dcd8c9fd.tar.gz mediapointer-dvb-s2-6238396acc97694eb2b368edb78b5341dcd8c9fd.tar.bz2 |
drivers/media/dvb/: possible cleanups
From: Adrian Bunk <bunk@stusta.de>
- make needlessly global code static
- #if 0 the following unused global functions:
- b2c2/flexcop-dma.c: flexcop_dma_control_packet_irq()
- b2c2/flexcop-dma.c: flexcop_dma_config_packet_count()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110_ir.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110_ir.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110_ir.c b/linux/drivers/media/dvb/ttpci/av7110_ir.c index 9138132ad..617e4f6c0 100644 --- a/linux/drivers/media/dvb/ttpci/av7110_ir.c +++ b/linux/drivers/media/dvb/ttpci/av7110_ir.c @@ -155,6 +155,19 @@ static void input_repeat_key(unsigned long data) } +static int av7110_setup_irc_config(struct av7110 *av7110, u32 ir_config) +{ + int ret = 0; + + dprintk(4, "%p\n", av7110); + if (av7110) { + ret = av7110_fw_cmd(av7110, COMTYPE_PIDFILTER, SetIR, 1, ir_config); + av7110->ir_config = ir_config; + } + return ret; +} + + static int av7110_ir_write_proc(struct file *file, const char __user *buffer, unsigned long count, void *data) { @@ -187,19 +200,6 @@ static int av7110_ir_write_proc(struct file *file, const char __user *buffer, } -int av7110_setup_irc_config(struct av7110 *av7110, u32 ir_config) -{ - int ret = 0; - - dprintk(4, "%p\n", av7110); - if (av7110) { - ret = av7110_fw_cmd(av7110, COMTYPE_PIDFILTER, SetIR, 1, ir_config); - av7110->ir_config = ir_config; - } - return ret; -} - - static void ir_handler(struct av7110 *av7110, u32 ircom) { dprintk(4, "ircommand = %08x\n", ircom); |