diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 12:25:20 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2006-01-09 12:25:20 -0500 |
commit | b060c25f70adb20532dacefa72029d1d2db1a7f1 (patch) | |
tree | ac75243ccd4f5c2bce2ed8ad9d8b5ddee624fda8 /drivers/media/video/tda9887.c | |
parent | b5b8ab8d93ec46fec279b22eb1a613be18f49f7a (diff) |
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/tda9887.c')
-rw-r--r-- | drivers/media/video/tda9887.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c index 32f133ed0b0b..9ae43a8cea52 100644 --- a/drivers/media/video/tda9887.c +++ b/drivers/media/video/tda9887.c | |||
@@ -714,18 +714,8 @@ static int tda9887_attach(struct i2c_adapter *adap, int addr, int kind) | |||
714 | 714 | ||
715 | static int tda9887_probe(struct i2c_adapter *adap) | 715 | static int tda9887_probe(struct i2c_adapter *adap) |
716 | { | 716 | { |
717 | #ifdef I2C_CLASS_TV_ANALOG | ||
718 | if (adap->class & I2C_CLASS_TV_ANALOG) | 717 | if (adap->class & I2C_CLASS_TV_ANALOG) |
719 | return i2c_probe(adap, &addr_data, tda9887_attach); | 718 | return i2c_probe(adap, &addr_data, tda9887_attach); |
720 | #else | ||
721 | switch (adap->id) { | ||
722 | case I2C_HW_B_BT848: | ||
723 | case I2C_HW_B_RIVA: | ||
724 | case I2C_HW_SAA7134: | ||
725 | return i2c_probe(adap, &addr_data, tda9887_attach); | ||
726 | break; | ||
727 | } | ||
728 | #endif | ||
729 | return 0; | 719 | return 0; |
730 | } | 720 | } |
731 | 721 | ||