]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
leds: fix platform driver hotplug/coldplug
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 15 Apr 2008 21:34:30 +0000 (14:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Apr 2008 02:35:40 +0000 (19:35 -0700)
commit3c4ded9715c05724939c9a4bd72555c2ade71d97
treecd1d98e77c75bbcbfa4922cb16970ec1aa6f4fbf
parent2b653e06ce2d70d21483f22ef1b1b63749c54223
leds: fix platform driver hotplug/coldplug

Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform
modalias is prefixed with "platform:". Add MODULE_ALIAS() to the
hotpluggable platform LED drivers, to re-enable auto loading.

[dbrownell@users.sourceforge.net: more drivers, registration fixes]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 files changed:
drivers/leds/leds-ams-delta.c
drivers/leds/leds-atmel-pwm.c
drivers/leds/leds-clevo-mail.c
drivers/leds/leds-cm-x270.c
drivers/leds/leds-cobalt-qube.c
drivers/leds/leds-corgi.c
drivers/leds/leds-gpio.c
drivers/leds/leds-h1940.c
drivers/leds/leds-hp6xx.c
drivers/leds/leds-s3c24xx.c
drivers/leds/leds-spitz.c
drivers/leds/leds-tosa.c