aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tvmixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tvmixer.c')
-rw-r--r--drivers/media/video/tvmixer.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/media/video/tvmixer.c b/drivers/media/video/tvmixer.c
index e837f9f7fed6..ce0da9c1a768 100644
--- a/drivers/media/video/tvmixer.c
+++ b/drivers/media/video/tvmixer.c
@@ -267,22 +267,8 @@ static int tvmixer_clients(struct i2c_client *client)
267 struct video_audio va; 267 struct video_audio va;
268 int i,minor; 268 int i,minor;
269 269
270#ifdef I2C_CLASS_TV_ANALOG
271 if (!(client->adapter->class & I2C_CLASS_TV_ANALOG)) 270 if (!(client->adapter->class & I2C_CLASS_TV_ANALOG))
272 return -1; 271 return -1;
273#else
274 /* TV card ??? */
275 switch (client->adapter->id) {
276 case I2C_HW_SMBUS_VOODOO3:
277 case I2C_HW_B_BT848:
278 case I2C_HW_B_RIVA:
279 /* ok, have a look ... */
280 break;
281 default:
282 /* ignore that one */
283 return -1;
284 }
285#endif
286 272
287 /* unregister ?? */ 273 /* unregister ?? */
288 for (i = 0; i < DEV_MAX; i++) { 274 for (i = 0; i < DEV_MAX; i++) {