diff options
Diffstat (limited to 'drivers/media/video/tveeprom.c')
-rw-r--r-- | drivers/media/video/tveeprom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/tveeprom.c b/drivers/media/video/tveeprom.c index e0d2ff83fc91..431c3e2f6c42 100644 --- a/drivers/media/video/tveeprom.c +++ b/drivers/media/video/tveeprom.c | |||
@@ -757,9 +757,9 @@ tveeprom_detect_client(struct i2c_adapter *adapter, | |||
757 | static int | 757 | static int |
758 | tveeprom_attach_adapter (struct i2c_adapter *adapter) | 758 | tveeprom_attach_adapter (struct i2c_adapter *adapter) |
759 | { | 759 | { |
760 | if (adapter->id != I2C_HW_B_BT848) | 760 | if (adapter->class & I2C_CLASS_TV_ANALOG) |
761 | return 0; | 761 | return i2c_probe(adapter, &addr_data, tveeprom_detect_client); |
762 | return i2c_probe(adapter, &addr_data, tveeprom_detect_client); | 762 | return 0; |
763 | } | 763 | } |
764 | 764 | ||
765 | static int | 765 | static int |