aboutsummaryrefslogtreecommitdiff
path: root/drivers/watchdog/sama5d4_wdt.c
diff options
context:
space:
mode:
authorGravatar Raag Jadav <raag.jadav@intel.com> 2023-08-11 17:32:20 +0530
committerGravatar Wim Van Sebroeck <wim@linux-watchdog.org> 2023-08-19 17:36:19 +0200
commitcf38e7691c85f1b09973b22a0b89bf1e1228d2f9 (patch)
tree90d7c8dcfcf8c51f013aeccdadc55fde79bcc617 /drivers/watchdog/sama5d4_wdt.c
parentwatchdog: core: stop watchdog when executing poweroff command (diff)
downloadlinux-cf38e7691c85f1b09973b22a0b89bf1e1228d2f9.tar.gz
linux-cf38e7691c85f1b09973b22a0b89bf1e1228d2f9.tar.bz2
linux-cf38e7691c85f1b09973b22a0b89bf1e1228d2f9.zip
watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load
When built with CONFIG_INTEL_MID_WATCHDOG=m, currently the driver needs to be loaded manually, for the lack of module alias. This causes unintended resets in cases where watchdog timer is set-up by bootloader and the driver is not explicitly loaded. Add MODULE_ALIAS() to load the driver automatically at boot and avoid this issue. Fixes: 87a1ef8058d9 ("watchdog: add Intel MID watchdog driver support") Signed-off-by: Raag Jadav <raag.jadav@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20230811120220.31578-1-raag.jadav@intel.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/sama5d4_wdt.c')
0 files changed, 0 insertions, 0 deletions