watchdog: orion_wdt: Add platform alias
authorLubomir Rintel <lkundrak@v3.sk>
Fri, 4 Jan 2013 14:06:28 +0000 (15:06 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 1 Mar 2013 11:24:58 +0000 (12:24 +0100)
...so that it's automatically picked up on relevant platforms.
Tested on Kirkwood-based GuruPlug.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/orion_wdt.c

index 7c18b3b..87ed2b9 100644 (file)
@@ -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);