ATA/IDE: fix platform driver hotplug/coldplug
[linux-2.6.git] / drivers / ata / pata_at32.c
index 3e8651d..5e10438 100644 (file)
@@ -381,6 +381,9 @@ static int __exit pata_at32_remove(struct platform_device *pdev)
        return 0;
 }
 
+/* work with hotplug and coldplug */
+MODULE_ALIAS("platform:at32_ide");
+
 static struct platform_driver pata_at32_driver = {
        .remove        = __exit_p(pata_at32_remove),
        .driver        = {