diff options
author | Andrew de Quincy <devnull@localhost> | 2004-11-11 18:05:00 +0000 |
---|---|---|
committer | Andrew de Quincy <devnull@localhost> | 2004-11-11 18:05:00 +0000 |
commit | 3a89beb2d27d5d92f79f9c0390b109c408b1b03b (patch) | |
tree | 7ce2406556a2dcadd83966d709847ce2b4a3a0ff | |
parent | 0617a8d39bc37898f75740356c9f64194e0ffe81 (diff) | |
download | mediapointer-dvb-s2-3a89beb2d27d5d92f79f9c0390b109c408b1b03b.tar.gz mediapointer-dvb-s2-3a89beb2d27d5d92f79f9c0390b109c408b1b03b.tar.bz2 |
Renamed functions now I know the correct tuner module
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c index 6c1fe1ed2..a71a464c7 100644 --- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c @@ -229,8 +229,7 @@ struct sp887x_config microtune_mt7202dtf_config = { - -static int advbt771_demod_init(struct dvb_frontend* fe) +static int advbt771_samsung_tdtc9251dh0_demod_init(struct dvb_frontend* fe) { static u8 mt352_clock_config [] = { 0x89, 0x38, 0x2d }; static u8 mt352_reset [] = { 0x50, 0x80 }; @@ -254,7 +253,7 @@ static int advbt771_demod_init(struct dvb_frontend* fe) return 0; } -static int advbt771_pll_set(struct dvb_frontend* fe, struct dvb_frontend_parameters* params, u8* pllbuf) +static int advbt771_samsung_tdtc9251dh0_pll_set(struct dvb_frontend* fe, struct dvb_frontend_parameters* params, u8* pllbuf) { u32 div; unsigned char bs = 0; @@ -292,11 +291,11 @@ static int advbt771_pll_set(struct dvb_frontend* fe, struct dvb_frontend_paramet return 0; } -static struct mt352_config advbt771_config = { +static struct mt352_config advbt771_samsung_tdtc9251dh0_config = { .demod_address = 0x0f, - .demod_init = advbt771_demod_init, - .pll_set = advbt771_pll_set, + .demod_init = advbt771_samsung_tdtc9251dh0_demod_init, + .pll_set = advbt771_samsung_tdtc9251dh0_pll_set, }; @@ -329,7 +328,7 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type) break; case BTTV_AVDVBT_771: - card->fe = mt352_attach(&advbt771_config, card->i2c_adapter); + card->fe = mt352_attach(&advbt771_samsung_tdtc9251dh0_config, card->i2c_adapter); if (card->fe != NULL) { card->fe->ops->info.frequency_min = 174000000; card->fe->ops->info.frequency_max = 862000000; |