diff options
author | Johannes Stezenbach <js@linuxtv.org> | 2005-05-17 00:54:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-17 10:59:32 -0400 |
commit | d91b730dfb46fa889c9c7a67d8bd6596e2ac8b21 (patch) | |
tree | 181dbb3a05023ab056e1b66d6e6d3b1126fee289 /drivers/media/dvb/ttusb-dec/ttusb_dec.c | |
parent | 5e9e7226c13135063707a0c82766a2dd748f59e5 (diff) |
[PATCH] dvb: make needlessly global code static or drop it
- make needlessly global code static
- #if 0 the following unused global functions:
- ttpci/av7110_hw.c: av7110_reset_arm
- ttpci/av7110_hw.c: av7110_send_ci_cmd
- frontends/mt352.[ch]: drop mt352_read
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/ttusb-dec/ttusb_dec.c')
-rw-r--r-- | drivers/media/dvb/ttusb-dec/ttusb_dec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/drivers/media/dvb/ttusb-dec/ttusb_dec.c index 64e771bd890..7b880aca88d 100644 --- a/drivers/media/dvb/ttusb-dec/ttusb_dec.c +++ b/drivers/media/dvb/ttusb-dec/ttusb_dec.c | |||
@@ -1565,15 +1565,15 @@ static void ttusb_dec_exit_filters(struct ttusb_dec *dec) | |||
1565 | } | 1565 | } |
1566 | } | 1566 | } |
1567 | 1567 | ||
1568 | int fe_send_command(struct dvb_frontend* fe, const u8 command, | 1568 | static int fe_send_command(struct dvb_frontend* fe, const u8 command, |
1569 | int param_length, const u8 params[], | 1569 | int param_length, const u8 params[], |
1570 | int *result_length, u8 cmd_result[]) | 1570 | int *result_length, u8 cmd_result[]) |
1571 | { | 1571 | { |
1572 | struct ttusb_dec* dec = (struct ttusb_dec*) fe->dvb->priv; | 1572 | struct ttusb_dec* dec = (struct ttusb_dec*) fe->dvb->priv; |
1573 | return ttusb_dec_send_command(dec, command, param_length, params, result_length, cmd_result); | 1573 | return ttusb_dec_send_command(dec, command, param_length, params, result_length, cmd_result); |
1574 | } | 1574 | } |
1575 | 1575 | ||
1576 | struct ttusbdecfe_config fe_config = { | 1576 | static struct ttusbdecfe_config fe_config = { |
1577 | .send_command = fe_send_command | 1577 | .send_command = fe_send_command |
1578 | }; | 1578 | }; |
1579 | 1579 | ||