diff options
Diffstat (limited to 'drivers/media/video/tda7432.c')
-rw-r--r-- | drivers/media/video/tda7432.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/video/tda7432.c b/drivers/media/video/tda7432.c index 549c9929f107..3bd7dfb8cc7c 100644 --- a/drivers/media/video/tda7432.c +++ b/drivers/media/video/tda7432.c | |||
@@ -323,13 +323,8 @@ static int tda7432_attach(struct i2c_adapter *adap, int addr, int kind) | |||
323 | 323 | ||
324 | static int tda7432_probe(struct i2c_adapter *adap) | 324 | static int tda7432_probe(struct i2c_adapter *adap) |
325 | { | 325 | { |
326 | #ifdef I2C_CLASS_TV_ANALOG | ||
327 | if (adap->class & I2C_CLASS_TV_ANALOG) | 326 | if (adap->class & I2C_CLASS_TV_ANALOG) |
328 | return i2c_probe(adap, &addr_data, tda7432_attach); | 327 | return i2c_probe(adap, &addr_data, tda7432_attach); |
329 | #else | ||
330 | if (adap->id == I2C_HW_B_BT848) | ||
331 | return i2c_probe(adap, &addr_data, tda7432_attach); | ||
332 | #endif | ||
333 | return 0; | 328 | return 0; |
334 | } | 329 | } |
335 | 330 | ||