diff options
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-i2c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-i2c.c b/linux/drivers/media/video/saa7134/saa7134-i2c.c index fae227bfe..4e2b17a8f 100644 --- a/linux/drivers/media/video/saa7134/saa7134-i2c.c +++ b/linux/drivers/media/video/saa7134/saa7134-i2c.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-i2c.c,v 1.16 2005/07/03 13:41:38 mchehab Exp $ + * $Id: saa7134-i2c.c,v 1.17 2005/07/04 17:06:39 mchehab Exp $ * * device driver for philips saa7134 based TV cards * i2c interface support @@ -332,7 +332,7 @@ static u32 functionality(struct i2c_adapter *adap) static int attach_inform(struct i2c_client *client) { struct saa7134_dev *dev = client->adapter->algo_data; - /* int tuner = dev->tuner_type; */ + int tuner = dev->tuner_type; int conf = dev->tda9887_conf; struct tuner_addr tun_addr; @@ -353,7 +353,7 @@ static int attach_inform(struct i2c_client *client) } } - tun_addr.type = saa7134_boards[dev->board].tuner_type; + tun_addr.type = tuner; if (tun_addr.type != UNSET) { tun_addr.addr = saa7134_boards[dev->board].tuner_addr; if ((tun_addr.addr==ADDR_UNSET)||(tun_addr.addr==client->addr)) { |