diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-04-23 22:46:40 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-04-23 22:46:40 +0000 |
commit | 9aff565ac3855a98c85c7443e526f361bde6fbc2 (patch) | |
tree | 937df5ff28c346dd726f2b4196a1b8efd0b81486 /linux/drivers/media/dvb/frontends | |
parent | 8c4739873bd2d19b18690af1dcefb096bd5dcb6a (diff) | |
download | mediapointer-dvb-s2-9aff565ac3855a98c85c7443e526f361bde6fbc2.tar.gz mediapointer-dvb-s2-9aff565ac3855a98c85c7443e526f361bde6fbc2.tar.bz2 |
patch by Adrian Bunk:
- 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>
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r-- | linux/drivers/media/dvb/frontends/mt352.c | 6 | ||||
-rw-r--r-- | linux/drivers/media/dvb/frontends/mt352.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/frontends/mt352.c b/linux/drivers/media/dvb/frontends/mt352.c index e116eb7d2..d32dc4de9 100644 --- a/linux/drivers/media/dvb/frontends/mt352.c +++ b/linux/drivers/media/dvb/frontends/mt352.c @@ -102,11 +102,6 @@ static int mt352_read_register(struct mt352_state* state, u8 reg) return b1[0]; } -int mt352_read(struct dvb_frontend *fe, u8 reg) -{ - return mt352_read_register(fe->demodulator_priv,reg); -} - static int mt352_sleep(struct dvb_frontend* fe) { static u8 mt352_softdown[] = { CLOCK_CTL, 0x20, 0x08 }; @@ -601,4 +596,3 @@ MODULE_LICENSE("GPL"); EXPORT_SYMBOL(mt352_attach); EXPORT_SYMBOL(mt352_write); -EXPORT_SYMBOL(mt352_read); diff --git a/linux/drivers/media/dvb/frontends/mt352.h b/linux/drivers/media/dvb/frontends/mt352.h index ec85e910d..03040cd59 100644 --- a/linux/drivers/media/dvb/frontends/mt352.h +++ b/linux/drivers/media/dvb/frontends/mt352.h @@ -61,6 +61,5 @@ extern struct dvb_frontend* mt352_attach(const struct mt352_config* config, struct i2c_adapter* i2c); extern int mt352_write(struct dvb_frontend* fe, u8* ibuf, int ilen); -extern int mt352_read(struct dvb_frontend *fe, u8 reg); #endif // MT352_H |