From 2557d80a80c4a2ef829fc1d9d0be1a4a07571da0 Mon Sep 17 00:00:00 2001 From: Jarkko Nikula Date: Thu, 15 May 2008 16:48:08 +0300 Subject: [PATCH] I2C: TSL2563, LP5521, TEA5761: Refer to id_table in i2c_driver structures Continue following commits since otherwise probe functions are not called. 11f26b681796e5f40d83321ea66e6fafa8f121d7 5744c1ebdd713c68fc3f1a93942d2baa8d139e79 0b80905e9c1f81085069c502662ba122437d6a7c Signed-off-by: Jarkko Nikula Acked-by: Felipe Balbi --- drivers/i2c/chips/lp5521.c | 1 + drivers/i2c/chips/tsl2563.c | 1 + drivers/media/radio/radio-tea5761.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/i2c/chips/lp5521.c b/drivers/i2c/chips/lp5521.c index 254d555ad63..32664c0e184 100644 --- a/drivers/i2c/chips/lp5521.c +++ b/drivers/i2c/chips/lp5521.c @@ -564,6 +564,7 @@ static struct i2c_driver lp5521_driver = { }, .probe = lp5521_probe, .remove = __devexit_p(lp5521_remove), + .id_table = lp5521_id, }; static int __init lp5521_init(void) diff --git a/drivers/i2c/chips/tsl2563.c b/drivers/i2c/chips/tsl2563.c index bc5810609c3..ddca5e30d04 100644 --- a/drivers/i2c/chips/tsl2563.c +++ b/drivers/i2c/chips/tsl2563.c @@ -718,6 +718,7 @@ static struct i2c_driver tsl2563_i2c_driver = { .resume = tsl2563_resume, .probe = tsl2563_probe, .remove = __devexit_p(tsl2563_remove), + .id_table = tsl2563_id, }; static int __init tsl2563_init(void) diff --git a/drivers/media/radio/radio-tea5761.c b/drivers/media/radio/radio-tea5761.c index 34fcd3af7e4..e8ccf29273f 100644 --- a/drivers/media/radio/radio-tea5761.c +++ b/drivers/media/radio/radio-tea5761.c @@ -485,6 +485,7 @@ static struct i2c_driver tea5761_driver = { }, .probe = tea5761_i2c_driver_probe, .remove = __devexit_p(tea5761_i2c_driver_remove), + .id_table = tea5761_id, }; static int __init tea5761_init(void) -- 2.41.1