diff options
Diffstat (limited to 'drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c')
-rw-r--r-- | drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index bc2043e44ebd..156072239374 100644 --- a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | |||
@@ -1693,11 +1693,7 @@ static int ttusb_probe(struct usb_interface *intf, const struct usb_device_id *i | |||
1693 | 1693 | ||
1694 | i2c_set_adapdata(&ttusb->i2c_adap, ttusb); | 1694 | i2c_set_adapdata(&ttusb->i2c_adap, ttusb); |
1695 | 1695 | ||
1696 | #ifdef I2C_ADAP_CLASS_TV_DIGITAL | ||
1697 | ttusb->i2c_adap.class = I2C_ADAP_CLASS_TV_DIGITAL; | ||
1698 | #else | ||
1699 | ttusb->i2c_adap.class = I2C_CLASS_TV_DIGITAL; | 1696 | ttusb->i2c_adap.class = I2C_CLASS_TV_DIGITAL; |
1700 | #endif | ||
1701 | ttusb->i2c_adap.algo = &ttusb_dec_algo; | 1697 | ttusb->i2c_adap.algo = &ttusb_dec_algo; |
1702 | ttusb->i2c_adap.algo_data = NULL; | 1698 | ttusb->i2c_adap.algo_data = NULL; |
1703 | ttusb->i2c_adap.dev.parent = &udev->dev; | 1699 | ttusb->i2c_adap.dev.parent = &udev->dev; |