From: Lubomir Rintel Date: Fri, 4 Jan 2013 14:06:28 +0000 (+0100) Subject: watchdog: orion_wdt: Add platform alias X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f3ea733e2e42fd11ea3bc6a468a325ae5878651a;p=openwrt%2Fstaging%2Fblogic.git watchdog: orion_wdt: Add platform alias ...so that it's automatically picked up on relevant platforms. Tested on Kirkwood-based GuruPlug. Signed-off-by: Lubomir Rintel Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog/orion_wdt.c index 7c18b3bffcf7..87ed2b9886a3 100644 --- a/drivers/watchdog/orion_wdt.c +++ b/drivers/watchdog/orion_wdt.c @@ -225,4 +225,5 @@ MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default=" __MODULE_STRING(WATCHDOG_NOWAYOUT) ")"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platform:orion_wdt"); MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);