diff options
Diffstat (limited to 'drivers/media/video/wm8775.c')
-rw-r--r-- | drivers/media/video/wm8775.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/wm8775.c b/drivers/media/video/wm8775.c index bbfd55cd9948..3472f08e41fd 100644 --- a/drivers/media/video/wm8775.c +++ b/drivers/media/video/wm8775.c | |||
@@ -206,11 +206,7 @@ static int wm8775_attach(struct i2c_adapter *adapter, int address, int kind) | |||
206 | 206 | ||
207 | static int wm8775_probe(struct i2c_adapter *adapter) | 207 | static int wm8775_probe(struct i2c_adapter *adapter) |
208 | { | 208 | { |
209 | #ifdef I2C_CLASS_TV_ANALOG | ||
210 | if (adapter->class & I2C_CLASS_TV_ANALOG) | 209 | if (adapter->class & I2C_CLASS_TV_ANALOG) |
211 | #else | ||
212 | if (adapter->id == I2C_HW_B_BT848) | ||
213 | #endif | ||
214 | return i2c_probe(adapter, &addr_data, wm8775_attach); | 210 | return i2c_probe(adapter, &addr_data, wm8775_attach); |
215 | return 0; | 211 | return 0; |
216 | } | 212 | } |