diff options
Diffstat (limited to 'drivers/media/video/msp3400.c')
-rw-r--r-- | drivers/media/video/msp3400.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/msp3400.c b/drivers/media/video/msp3400.c index 546e3f0067fe..1bf0fb38b918 100644 --- a/drivers/media/video/msp3400.c +++ b/drivers/media/video/msp3400.c | |||
@@ -2336,13 +2336,9 @@ static int msp_detach(struct i2c_client *client) | |||
2336 | 2336 | ||
2337 | static int msp_probe(struct i2c_adapter *adap) | 2337 | static int msp_probe(struct i2c_adapter *adap) |
2338 | { | 2338 | { |
2339 | #ifdef I2C_CLASS_TV_ANALOG | ||
2340 | if (adap->class & I2C_CLASS_TV_ANALOG) | 2339 | if (adap->class & I2C_CLASS_TV_ANALOG) |
2341 | return i2c_probe(adap, &addr_data, msp_attach); | 2340 | return i2c_probe(adap, &addr_data, msp_attach); |
2342 | return 0; | 2341 | return 0; |
2343 | #else | ||
2344 | return i2c_probe(adap, &addr_data, msp_attach); | ||
2345 | #endif | ||
2346 | } | 2342 | } |
2347 | 2343 | ||
2348 | static int __init msp3400_init_module(void) | 2344 | static int __init msp3400_init_module(void) |