projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
leds: fix platform driver hotplug/coldplug
[cascardo/linux.git]
/
drivers
/
leds
/
leds-atmel-pwm.c
diff --git
a/drivers/leds/leds-atmel-pwm.c
b/drivers/leds/leds-atmel-pwm.c
index
af61f55
..
28db6c1
100644
(file)
--- a/
drivers/leds/leds-atmel-pwm.c
+++ b/
drivers/leds/leds-atmel-pwm.c
@@
-132,6
+132,9
@@
static int __exit pwmled_remove(struct platform_device *pdev)
return 0;
}
+/* work with hotplug and coldplug */
+MODULE_ALIAS("platform:leds-atmel-pwm");
+
static struct platform_driver pwmled_driver = {
.driver = {
.name = "leds-atmel-pwm",