]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
leds-add-driver-for-tca6507-led-controller-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 16 Dec 2011 04:50:14 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Dec 2011 06:01:19 +0000 (17:01 +1100)
drivers/leds/leds-tca6507.c:167: error: '__mod_i2c_device_table' aliased to undefined symbol 'tca6507'

Cc: NeilBrown <neilb@suse.de>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/leds/leds-tca6507.c

index a7ea4cffb0b0e263b7901dea386d05883beb368d..1d7bed7ac9a7c17c90ea3e7f379de7d20781b144 100644 (file)
@@ -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)
 {