summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2019-05-15 19:14:18 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-07-08 16:08:32 +0200
commit215e06f0d18d5d653d6ea269e4dfc684854d48bf (patch)
treed05649cc718bf451d36f3cb41fc7e2184d8917c8 /drivers/watchdog
parent8632944841d41a36d77dd1fa88d4201b5291100f (diff)
downloadlinux-0-day-215e06f0d18d5d653d6ea269e4dfc684854d48bf.tar.gz
linux-0-day-215e06f0d18d5d653d6ea269e4dfc684854d48bf.tar.xz
watchdog: bcm2835_wdt: Fix module autoload
The commit 5e6acc3e678e ("bcm2835-pm: Move bcm2835-watchdog's DT probe to an MFD.") broke module autoloading on Raspberry Pi. So add a module alias this fix this. Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/bcm2835_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/bcm2835_wdt.c b/drivers/watchdog/bcm2835_wdt.c
index 027a36c40ab3e..dec6ca019beaa 100644
--- a/drivers/watchdog/bcm2835_wdt.c
+++ b/drivers/watchdog/bcm2835_wdt.c
@@ -238,6 +238,7 @@ module_param(nowayout, bool, 0);
MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default="
__MODULE_STRING(WATCHDOG_NOWAYOUT) ")");
+MODULE_ALIAS("platform:bcm2835-wdt");
MODULE_AUTHOR("Lubomir Rintel <lkundrak@v3.sk>");
MODULE_DESCRIPTION("Driver for Broadcom BCM2835 watchdog timer");
MODULE_LICENSE("GPL");