X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fleds%2Fleds-atmel-pwm.c;h=28db6c1444ed9f4b64c989fbbbbc05f49ff82f61;hb=b72e9ebe7efa5754aa53bbdb0040a2d6eeb34db3;hp=af61f55571fe5093e7632506a7e076afa27676fb;hpb=f9166e736e516a4b1de16577b5428afd0cffe325;p=linux-2.6 diff --git a/drivers/leds/leds-atmel-pwm.c b/drivers/leds/leds-atmel-pwm.c index af61f55571..28db6c1444 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",