diff options
Diffstat (limited to 'drivers/media/video/bttv-i2c.c')
-rw-r--r-- | drivers/media/video/bttv-i2c.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/bttv-i2c.c b/drivers/media/video/bttv-i2c.c index 1b3e0a769518..77619eb131f6 100644 --- a/drivers/media/video/bttv-i2c.c +++ b/drivers/media/video/bttv-i2c.c | |||
@@ -294,8 +294,8 @@ static int attach_inform(struct i2c_client *client) | |||
294 | int addr=ADDR_UNSET; | 294 | int addr=ADDR_UNSET; |
295 | 295 | ||
296 | 296 | ||
297 | if (ADDR_UNSET != bttv_tvcards[btv->c.type].tuner_addr) | 297 | if (ADDR_UNSET != bttv_tvcards[btv->c.type].tuner_addr) |
298 | addr = bttv_tvcards[btv->c.type].tuner_addr; | 298 | addr = bttv_tvcards[btv->c.type].tuner_addr; |
299 | 299 | ||
300 | 300 | ||
301 | if (bttv_debug) | 301 | if (bttv_debug) |
@@ -311,10 +311,10 @@ static int attach_inform(struct i2c_client *client) | |||
311 | if ((addr==ADDR_UNSET) || | 311 | if ((addr==ADDR_UNSET) || |
312 | (addr==client->addr)) { | 312 | (addr==client->addr)) { |
313 | 313 | ||
314 | tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV | T_RADIO; | 314 | tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV | T_RADIO; |
315 | tun_setup.type = btv->tuner_type; | 315 | tun_setup.type = btv->tuner_type; |
316 | tun_setup.addr = addr; | 316 | tun_setup.addr = addr; |
317 | bttv_call_i2c_clients(btv, TUNER_SET_TYPE_ADDR, &tun_setup); | 317 | bttv_call_i2c_clients(btv, TUNER_SET_TYPE_ADDR, &tun_setup); |
318 | } | 318 | } |
319 | 319 | ||
320 | } | 320 | } |