aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/si2157.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/tuners/si2157.c')
-rw-r--r--drivers/media/tuners/si2157.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c
index 6174c8eaa8b4..211d500a74dd 100644
--- a/drivers/media/tuners/si2157.c
+++ b/drivers/media/tuners/si2157.c
@@ -383,12 +383,12 @@ static int si2157_remove(struct i2c_client *client)
383 return 0; 383 return 0;
384} 384}
385 385
386static const struct i2c_device_id si2157_id[] = { 386static const struct i2c_device_id si2157_id_table[] = {
387 {"si2157", 0}, 387 {"si2157", SI2157_CHIPTYPE_SI2157},
388 {"si2146", 1}, 388 {"si2146", SI2157_CHIPTYPE_SI2146},
389 {} 389 {}
390}; 390};
391MODULE_DEVICE_TABLE(i2c, si2157_id); 391MODULE_DEVICE_TABLE(i2c, si2157_id_table);
392 392
393static struct i2c_driver si2157_driver = { 393static struct i2c_driver si2157_driver = {
394 .driver = { 394 .driver = {
@@ -397,7 +397,7 @@ static struct i2c_driver si2157_driver = {
397 }, 397 },
398 .probe = si2157_probe, 398 .probe = si2157_probe,
399 .remove = si2157_remove, 399 .remove = si2157_remove,
400 .id_table = si2157_id, 400 .id_table = si2157_id_table,
401}; 401};
402 402
403module_i2c_driver(si2157_driver); 403module_i2c_driver(si2157_driver);