aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx/bttv-cards.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-cards.c')
-rw-r--r--drivers/media/video/bt8xx/bttv-cards.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c
index ced777084ca0..58fb93ee5500 100644
--- a/drivers/media/video/bt8xx/bttv-cards.c
+++ b/drivers/media/video/bt8xx/bttv-cards.c
@@ -3640,21 +3640,13 @@ void __devinit bttv_init_card2(struct bttv *btv)
3640 it really is a msp3400, so it will return NULL when the device 3640 it really is a msp3400, so it will return NULL when the device
3641 found is really something else (e.g. a tea6300). */ 3641 found is really something else (e.g. a tea6300). */
3642 if (!bttv_tvcards[btv->c.type].no_msp34xx) { 3642 if (!bttv_tvcards[btv->c.type].no_msp34xx) {
3643 static const unsigned short addrs[] = { 3643 btv->sd_msp34xx = v4l2_i2c_new_probed_subdev_addr(&btv->c.v4l2_dev,
3644 I2C_ADDR_MSP3400 >> 1, 3644 &btv->c.i2c_adap, "msp3400", "msp3400",
3645 I2C_CLIENT_END 3645 I2C_ADDR_MSP3400 >> 1);
3646 };
3647
3648 btv->sd_msp34xx = v4l2_i2c_new_probed_subdev(&btv->c.v4l2_dev,
3649 &btv->c.i2c_adap, "msp3400", "msp3400", addrs);
3650 } else if (bttv_tvcards[btv->c.type].msp34xx_alt) { 3646 } else if (bttv_tvcards[btv->c.type].msp34xx_alt) {
3651 static const unsigned short addrs[] = { 3647 btv->sd_msp34xx = v4l2_i2c_new_probed_subdev_addr(&btv->c.v4l2_dev,
3652 I2C_ADDR_MSP3400_ALT >> 1, 3648 &btv->c.i2c_adap, "msp3400", "msp3400",
3653 I2C_CLIENT_END 3649 I2C_ADDR_MSP3400_ALT >> 1);
3654 };
3655
3656 btv->sd_msp34xx = v4l2_i2c_new_probed_subdev(&btv->c.v4l2_dev,
3657 &btv->c.i2c_adap, "msp3400", "msp3400", addrs);
3658 } 3650 }
3659 3651
3660 /* If we found a msp34xx, then we're done. */ 3652 /* If we found a msp34xx, then we're done. */