diff options
author | Raag Jadav <[email protected]> | 2023-08-11 17:32:20 +0530 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2023-08-19 17:36:19 +0200 |
commit | cf38e7691c85f1b09973b22a0b89bf1e1228d2f9 (patch) | |
tree | 90d7c8dcfcf8c51f013aeccdadc55fde79bcc617 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 486a64b29c5f43a9671713e781779863dda9bbc9 (diff) |
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 <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions