summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bttv-cards.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/bttv-cards.c')
-rw-r--r--linux/drivers/media/video/bttv-cards.c12
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;