]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pcmcia/omap_cf.c
pcmcia: fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / drivers / pcmcia / omap_cf.c
index 2df216b008177ceb6f2f5fa630ec71317f9a69d1..bb6db3a582b2292d1dbe7777e87c545a4b00d737 100644 (file)
@@ -344,6 +344,7 @@ static int omap_cf_resume(struct platform_device *pdev)
 static struct platform_driver omap_cf_driver = {
        .driver = {
                .name   = (char *) driver_name,
+               .owner  = THIS_MODULE,
        },
        .remove         = __exit_p(omap_cf_remove),
        .suspend        = omap_cf_suspend,
@@ -368,3 +369,4 @@ module_exit(omap_cf_exit);
 
 MODULE_DESCRIPTION("OMAP CF Driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:omap_cf");