summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tvaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/tvaudio.c')
-rw-r--r--linux/drivers/media/video/tvaudio.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/linux/drivers/media/video/tvaudio.c b/linux/drivers/media/video/tvaudio.c
index 80a021ea3..4c8a7149e 100644
--- a/linux/drivers/media/video/tvaudio.c
+++ b/linux/drivers/media/video/tvaudio.c
@@ -1585,11 +1585,7 @@ static int chip_probe(struct i2c_adapter *adap)
{
/* don't attach on saa7146 based cards,
because dedicated drivers are used */
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13)
if ((adap->id & I2C_HW_SAA7146))
-#else
- if ((adap->id & I2C_ALGO_SAA7146))
-#endif
return 0;
#ifdef I2C_CLASS_TV_ANALOG
if (adap->class & I2C_CLASS_TV_ANALOG)
@@ -1598,11 +1594,7 @@ static int chip_probe(struct i2c_adapter *adap)
switch (adap->id) {
case I2C_HW_B_BT848:
case I2C_HW_B_RIVA:
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13)
case I2C_HW_SAA7134:
-#else
- case I2C_ALGO_SAA7134:
-#endif
return i2c_probe(adap, &addr_data, chip_attach);
}
#endif