summaryrefslogtreecommitdiff
path: root/drivers/media/video/saa6588.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 20:25:20 +0300
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 20:25:20 +0300
commitb060c25f70adb20532dacefa72029d1d2db1a7f1 (patch)
treeac75243ccd4f5c2bce2ed8ad9d8b5ddee624fda8 /drivers/media/video/saa6588.c
parentb5b8ab8d93ec46fec279b22eb1a613be18f49f7a (diff)
downloadlinux-b060c25f70adb20532dacefa72029d1d2db1a7f1.tar.xz
V4L/DVB (3123a): remove uneeded #if from V4L subsystem
- some uneeded #if were introduced by a previous patch. this patch removes these. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'drivers/media/video/saa6588.c')
-rw-r--r--drivers/media/video/saa6588.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/video/saa6588.c b/drivers/media/video/saa6588.c
index d60a783e0473..ad582bd39819 100644
--- a/drivers/media/video/saa6588.c
+++ b/drivers/media/video/saa6588.c
@@ -427,18 +427,8 @@ static int saa6588_attach(struct i2c_adapter *adap, int addr, int kind)
static int saa6588_probe(struct i2c_adapter *adap)
{
-#ifdef I2C_CLASS_TV_ANALOG
if (adap->class & I2C_CLASS_TV_ANALOG)
return i2c_probe(adap, &addr_data, saa6588_attach);
-#else
- switch (adap->id) {
- case I2C_HW_B_BT848:
- case I2C_HW_B_RIVA:
- case I2C_HW_SAA7134:
- return i2c_probe(adap, &addr_data, saa6588_attach);
- break;
- }
-#endif
return 0;
}