diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-17 23:50:58 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:17:52 -0400 |
commit | f87086e302300fdff1bd32049deb7a7f3e3de7da (patch) | |
tree | 27b42587cf577a63d9f79ccb27267e0dea7188cb /drivers/media/dvb/ttusb-budget | |
parent | e01117c81676dc9897f567e32cdc13a26e85280b (diff) |
v4l-dvb: remove legacy checks to allow support for kernels < 2.6.10
Also remove some blank lines that were used to split compat code at -devel
tree.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttusb-budget')
-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; |