diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2019-05-15 19:14:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-06 10:22:02 +0200 |
commit | 2fa7c944e11fc1b1f5cc454f2ea16941b3bacd51 (patch) | |
tree | 7c7b4a1d79c62906f07cf7dd880681c30ade84fb /drivers | |
parent | a3eb2eba2f79950b788342562604d36c5a260da7 (diff) | |
download | linux-stable-2fa7c944e11fc1b1f5cc454f2ea16941b3bacd51.tar.gz linux-stable-2fa7c944e11fc1b1f5cc454f2ea16941b3bacd51.tar.bz2 linux-stable-2fa7c944e11fc1b1f5cc454f2ea16941b3bacd51.zip |
watchdog: bcm2835_wdt: Fix module autoload
[ Upstream commit 215e06f0d18d5d653d6ea269e4dfc684854d48bf ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/watchdog/bcm2835_wdt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/bcm2835_wdt.c b/drivers/watchdog/bcm2835_wdt.c index ed05514cc2dc..e6c27b71b136 100644 --- a/drivers/watchdog/bcm2835_wdt.c +++ b/drivers/watchdog/bcm2835_wdt.c @@ -249,6 +249,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"); |