summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-atmel-pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-atmel-pwm.c')
-rw-r--r--drivers/leds/leds-atmel-pwm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/leds/leds-atmel-pwm.c b/drivers/leds/leds-atmel-pwm.c
index af61f55571fe..28db6c1444ed 100644
--- 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",