]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/leds/leds-atmel-pwm.c
leds: fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / drivers / leds / leds-atmel-pwm.c
index af61f55571fe5093e7632506a7e076afa27676fb..28db6c1444ed9f4b64c989fbbbbc05f49ff82f61 100644 (file)
@@ -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",