]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/leds/leds-cm-x270.c
leds: fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / drivers / leds / leds-cm-x270.c
index 9aebef02a974b4654f5f84494491801b044561e5..accc7eddb788658ae15579f374af14d7542619b5 100644 (file)
@@ -101,6 +101,7 @@ static struct platform_driver cmx270led_driver = {
 #endif
        .driver         = {
                .name           = "cm-x270-led",
+               .owner          = THIS_MODULE,
        },
 };
 
@@ -120,3 +121,4 @@ module_exit(cmx270led_exit);
 MODULE_AUTHOR("Mike Rapoport <mike@compulab.co.il>");
 MODULE_DESCRIPTION("CM-x270 LED driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:cm-x270-led");