summaryrefslogtreecommitdiff
path: root/v4l_experimental/v3tv/v3tv.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 /v4l_experimental/v3tv/v3tv.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 'v4l_experimental/v3tv/v3tv.c')
-rw-r--r--v4l_experimental/v3tv/v3tv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/v4l_experimental/v3tv/v3tv.c b/v4l_experimental/v3tv/v3tv.c
index 214034573..9029fa733 100644
--- a/v4l_experimental/v3tv/v3tv.c
+++ b/v4l_experimental/v3tv/v3tv.c
@@ -714,20 +714,8 @@ int v3tv_get_adapter(struct i2c_adapter *adapter)
if (debug)
printk(KERN_INFO "v3tv: v3tv_get_adapter trying: %s\n",
adapter->name);
-// if (I2C_CLASS_TV_ANALOG != adapter->class)
-// return 0;
-#ifdef I2C_CLASS_TV_ANALOG
if (!(adapter->class & I2C_CLASS_TV_ANALOG))
return 0;
-#else
- switch (adapter->id) {
- case I2C_ALGO_BIT | I2C_HW_B_VOO:
- if (!strnicmp(adapter->name, "I2C\0", 3))
- break;
- default:
- return 0;
- }
-#endif
if (debug)
printk(KERN_INFO "v3tv: i2c_attach_client found adapter: %s\n",
adapter->name);