ATA/IDE: fix platform driver hotplug/coldplug
[linux-2.6.git] / drivers / ide / arm / palm_bk3710.c
index 474162c..420fcb7 100644 (file)
@@ -409,9 +409,13 @@ out:
        return -ENODEV;
 }
 
+/* work with hotplug and coldplug */
+MODULE_ALIAS("platform:palm_bk3710");
+
 static struct platform_driver platform_bk_driver = {
        .driver = {
                .name = "palm_bk3710",
+               .owner = THIS_MODULE,
        },
        .probe = palm_bk3710_probe,
        .remove = NULL,