summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-tosa.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-04-15 23:34:30 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-16 04:35:40 +0200
commit3c4ded9715c05724939c9a4bd72555c2ade71d97 (patch)
treecd1d98e77c75bbcbfa4922cb16970ec1aa6f4fbf /drivers/leds/leds-tosa.c
parentrtc: fix the error in the function of cmos_set_alarm (diff)
downloadlinux-3c4ded9715c05724939c9a4bd72555c2ade71d97.tar.xz
linux-3c4ded9715c05724939c9a4bd72555c2ade71d97.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/leds/leds-tosa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/leds/leds-tosa.c b/drivers/leds/leds-tosa.c
index 9e0a188fbb0a..7ebecc41a9be 100644
--- a/drivers/leds/leds-tosa.c
+++ b/drivers/leds/leds-tosa.c
@@ -109,6 +109,7 @@ static struct platform_driver tosaled_driver = {
.resume = tosaled_resume,
.driver = {
.name = "tosa-led",
+ .owner = THIS_MODULE,
},
};
@@ -128,3 +129,4 @@ module_exit(tosaled_exit);
MODULE_AUTHOR("Dirk Opfer <Dirk@Opfer-Online.de>");
MODULE_DESCRIPTION("Tosa LED driver");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:tosa-led");