diff options
author | Kenneth Aafloy <devnull@localhost> | 2004-08-23 15:48:07 +0000 |
---|---|---|
committer | Kenneth Aafloy <devnull@localhost> | 2004-08-23 15:48:07 +0000 |
commit | 52910398e48695e1b055511885f1af72943fa1f2 (patch) | |
tree | 8d82331c85fc6347905f9439ea9e8549b338c98a /linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | |
parent | e37f54bc3d60def9b8154f5c217d4645b3872d6e (diff) | |
download | mediapointer-dvb-s2-52910398e48695e1b055511885f1af72943fa1f2.tar.gz mediapointer-dvb-s2-52910398e48695e1b055511885f1af72943fa1f2.tar.bz2 |
- Fix: `I2C_CLASS_TV_DIGITAL' undeclared
Diffstat (limited to 'linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c')
-rw-r--r-- | linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index 5eb51d78a..f0e4a0bb4 100644 --- a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c @@ -1147,7 +1147,11 @@ static int ttusb_probe(struct usb_interface *intf, const struct usb_device_id *i i2c_set_adapdata(&ttusb->i2c_adap, ttusb); +#ifdef I2C_ADAP_CLASS_TV_DIGITAL + ttusb->i2c_adap.class = I2C_ADAP_CLASS_TV_DIGITAL; +#else ttusb->i2c_adap.class = I2C_CLASS_TV_DIGITAL; +#endif ttusb->i2c_adap.algo = &ttusb_dec_algo; ttusb->i2c_adap.algo_data = NULL; ttusb->i2c_adap.id = I2C_ALGO_BIT; |