mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-22 22:10:40 +08:00
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
|
From 5aef2cc938fd9446724b175d92a0f7701b9934e2 Mon Sep 17 00:00:00 2001
|
||
|
From: Stefan Wahren <wahrenst@gmx.net>
|
||
|
Date: Wed, 15 May 2019 19:14:18 +0200
|
||
|
Subject: [PATCH 5/5] 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>
|
||
|
---
|
||
|
drivers/watchdog/bcm2835_wdt.c | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/drivers/watchdog/bcm2835_wdt.c b/drivers/watchdog/bcm2835_wdt.c
|
||
|
index 1834524ae373..c7695a0c933f 100644
|
||
|
--- a/drivers/watchdog/bcm2835_wdt.c
|
||
|
+++ b/drivers/watchdog/bcm2835_wdt.c
|
||
|
@@ -241,6 +241,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");
|
||
|
--
|
||
|
2.21.0
|
||
|
|