diff options
author | Nickolay V. Shmyrev <devnull@localhost> | 2005-07-05 17:37:35 +0000 |
---|---|---|
committer | Nickolay V. Shmyrev <devnull@localhost> | 2005-07-05 17:37:35 +0000 |
commit | 1f40d1644d3d1f28c93be46a75081421aaefb80e (patch) | |
tree | 83a33bfca94e034d19a75bb5ebafea1fb6001af0 /linux/drivers/media/video/bttv-cards.c | |
parent | e878ee9ed558c1eb13033b79cdaebf4145865efa (diff) | |
download | mediapointer-dvb-s2-1f40d1644d3d1f28c93be46a75081421aaefb80e.tar.gz mediapointer-dvb-s2-1f40d1644d3d1f28c93be46a75081421aaefb80e.tar.bz2 |
Rename tuner structures fields. Move MD detection hack to
saa7134-cards.c
Diffstat (limited to 'linux/drivers/media/video/bttv-cards.c')
-rw-r--r-- | linux/drivers/media/video/bttv-cards.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/video/bttv-cards.c b/linux/drivers/media/video/bttv-cards.c index 35d7fab28..b89f6cb2f 100644 --- a/linux/drivers/media/video/bttv-cards.c +++ b/linux/drivers/media/video/bttv-cards.c @@ -1,5 +1,5 @@ /* - $Id: bttv-cards.c,v 1.52 2005/07/02 16:24:34 mkrufky Exp $ + $Id: bttv-cards.c,v 1.53 2005/07/05 17:37:35 nsh Exp $ bttv-cards.c @@ -2826,13 +2826,13 @@ void __devinit bttv_init_card2(struct bttv *btv) bttv_call_i2c_clients(btv, AUDC_CONFIG_PINNACLE, &btv->pinnacle_id); if (btv->tuner_type != UNSET) { - struct tuner_addr tun_addr; + struct tuner_setup tun_setup; - tun_addr.state = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV; - tun_addr.type = btv->tuner_type; - tun_addr.addr = ADDR_UNSET; + tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV; + tun_setup.type = btv->tuner_type; + tun_setup.addr = ADDR_UNSET; - bttv_call_i2c_clients(btv, TUNER_SET_TYPE_ADDR, &tun_addr); + bttv_call_i2c_clients(btv, TUNER_SET_TYPE_ADDR, &tun_setup); } btv->svhs = bttv_tvcards[btv->c.type].svhs; |