]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/watchdog/mpcore_wdt.c
watchdog: fix platform driver hotplug/coldplug
[linux-2.6-omap-h63xx.git] / drivers / watchdog / mpcore_wdt.c
index 0d2b2773541980877c82def91e1eb28d47150d2d..009573b81496fa060bc8bb33722bf46337be1641 100644 (file)
@@ -392,6 +392,9 @@ static int __devexit mpcore_wdt_remove(struct platform_device *dev)
        return 0;
 }
 
+/* work with hotplug and coldplug */
+MODULE_ALIAS("platform:mpcore_wdt");
+
 static struct platform_driver mpcore_wdt_driver = {
        .probe          = mpcore_wdt_probe,
        .remove         = __devexit_p(mpcore_wdt_remove),