diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/saa7115.c | 1 | ||||
-rw-r--r-- | drivers/media/video/tuner-core.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/saa7115.c b/drivers/media/video/saa7115.c index e6538eb3aa17..e8488430cdbd 100644 --- a/drivers/media/video/saa7115.c +++ b/drivers/media/video/saa7115.c | |||
@@ -1667,6 +1667,5 @@ static struct v4l2_i2c_driver_data v4l2_i2c_data = { | |||
1667 | .name = "saa7115", | 1667 | .name = "saa7115", |
1668 | .probe = saa711x_probe, | 1668 | .probe = saa711x_probe, |
1669 | .remove = saa711x_remove, | 1669 | .remove = saa711x_remove, |
1670 | .legacy_class = I2C_CLASS_TV_ANALOG | I2C_CLASS_TV_DIGITAL, | ||
1671 | .id_table = saa7115_id, | 1670 | .id_table = saa7115_id, |
1672 | }; | 1671 | }; |
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index 28af7b7e9512..cc5f018b8eb4 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c | |||
@@ -1020,7 +1020,7 @@ static void tuner_lookup(struct i2c_adapter *adap, | |||
1020 | int mode_mask; | 1020 | int mode_mask; |
1021 | 1021 | ||
1022 | if (pos->i2c->adapter != adap || | 1022 | if (pos->i2c->adapter != adap || |
1023 | pos->i2c->driver->id != I2C_DRIVERID_TUNER) | 1023 | strcmp(pos->i2c->driver->driver.name, "tuner")) |
1024 | continue; | 1024 | continue; |
1025 | 1025 | ||
1026 | mode_mask = pos->mode_mask & ~T_STANDBY; | 1026 | mode_mask = pos->mode_mask & ~T_STANDBY; |