From 56019d97152845686ea87fada1ac9959f9e52624 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 16 Dec 2011 15:50:14 +1100 Subject: [PATCH] leds-add-driver-for-tca6507-led-controller-fix drivers/leds/leds-tca6507.c:167: error: '__mod_i2c_device_table' aliased to undefined symbol 'tca6507' Cc: NeilBrown Cc: Richard Purdie Signed-off-by: Andrew Morton --- drivers/leds/leds-tca6507.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/leds-tca6507.c b/drivers/leds/leds-tca6507.c index a7ea4cffb0b0..1d7bed7ac9a7 100644 --- a/drivers/leds/leds-tca6507.c +++ b/drivers/leds/leds-tca6507.c @@ -158,7 +158,7 @@ static const struct i2c_device_id tca6507_id[] = { { "tca6507" }, { } }; -MODULE_DEVICE_TABLE(i2c, tca6507); +MODULE_DEVICE_TABLE(i2c, tca6507_id); static int choose_times(int msec, int *c1p, int *c2p) { -- 2.39.5