summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tda9875.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-08 01:17:00 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-07-08 01:17:00 +0200
commit1e35850ac2509c324478d38091880e60ab28795f (patch)
treeffb89f595c6bcea9189a5f090fad092c8aa7428e /linux/drivers/media/video/tda9875.c
parent7ce87336c2f386ab6c35e985a5832d21b5cd7fab (diff)
downloadmediapointer-dvb-s2-1e35850ac2509c324478d38091880e60ab28795f.tar.gz
mediapointer-dvb-s2-1e35850ac2509c324478d38091880e60ab28795f.tar.bz2
v4l-dvb: remove support for kernels < 2.6.10
From: Hans Verkuil <hverkuil@xs4all.nl> Phase 2 removes support for kernels < 2.6.10. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/tda9875.c')
-rw-r--r--linux/drivers/media/video/tda9875.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/linux/drivers/media/video/tda9875.c b/linux/drivers/media/video/tda9875.c
index b32a34c4b..e1c7550d5 100644
--- a/linux/drivers/media/video/tda9875.c
+++ b/linux/drivers/media/video/tda9875.c
@@ -269,13 +269,8 @@ static int tda9875_attach(struct i2c_adapter *adap, int addr, int kind)
static int tda9875_probe(struct i2c_adapter *adap)
{
-#ifdef I2C_CLASS_TV_ANALOG
if (adap->class & I2C_CLASS_TV_ANALOG)
return i2c_probe(adap, &addr_data, tda9875_attach);
-#else
- if (adap->id == I2C_HW_B_BT848)
- return i2c_probe(adap, &addr_data, tda9875_attach);
-#endif
return 0;
}