]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/leds/leds-corgi.c
leds: fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / drivers / leds / leds-corgi.c
index e45f6c4b59ba4fd6c57293ba60dd55e49013aada..29e931f89f9cce65f25f422c87680b6347ad6b92 100644 (file)
@@ -99,6 +99,7 @@ static struct platform_driver corgiled_driver = {
 #endif
        .driver         = {
                .name           = "corgi-led",
+               .owner          = THIS_MODULE,
        },
 };
 
@@ -118,3 +119,4 @@ module_exit(corgiled_exit);
 MODULE_AUTHOR("Richard Purdie <rpurdie@openedhand.com>");
 MODULE_DESCRIPTION("Corgi LED driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:corgi-led");