summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2013-01-04 15:06:28 +0100
committerWim Van Sebroeck <wim@iguana.be>2013-03-01 12:24:58 +0100
commitf3ea733e2e42fd11ea3bc6a468a325ae5878651a (patch)
tree348f207d058237867deada51b75034a884f12fc7
parent15920d12998a408efe4b1b25a28c21dfc48f6e69 (diff)
downloadop-kernel-dev-f3ea733e2e42fd11ea3bc6a468a325ae5878651a.zip
op-kernel-dev-f3ea733e2e42fd11ea3bc6a468a325ae5878651a.tar.gz
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 <lkundrak@v3.sk> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
-rw-r--r--drivers/watchdog/orion_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog/orion_wdt.c
index 7c18b3b..87ed2b9 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);
OpenPOWER on IntegriCloud