]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/leds/leds-spitz.c
leds: fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / drivers / leds / leds-spitz.c
index 93e1012b17e620c1c85e8ad037180142676d11b4..87007cc362c126ad0ae91dbe883e74928861975f 100644 (file)
@@ -105,6 +105,7 @@ static struct platform_driver spitzled_driver = {
 #endif
        .driver         = {
                .name           = "spitz-led",
+               .owner          = THIS_MODULE,
        },
 };
 
@@ -124,3 +125,4 @@ module_exit(spitzled_exit);
 MODULE_AUTHOR("Richard Purdie <rpurdie@openedhand.com>");
 MODULE_DESCRIPTION("Spitz LED driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:spitz-led");