diff options
author | Stefan Eichenberger <[email protected]> | 2021-04-06 14:12:47 +0200 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2021-06-21 08:49:14 +0200 |
commit | 854478a381078ee86ae2a7908a934b1ded399130 (patch) | |
tree | f6f13b2a9e8a3df2b9c7869a3c5ed167098cded9 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 266b2e335ce0c396096be4b649b819cc62b8c791 (diff) |
watchdog: imx_sc_wdt: fix pretimeout
If the WDIOF_PRETIMEOUT flag is not set when registering the device the
driver will not show the sysfs entries or register the default governor.
By moving the registering after the decision whether pretimeout is
supported this gets fixed.
Signed-off-by: Stefan Eichenberger <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Reviewed-by: Dong Aisheng <[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/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions