diff options
author | Wim Van Sebroeck <wim@linux-watchdog.org> | 2018-02-19 17:04:33 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2018-02-19 17:44:05 +0100 |
commit | a17f4f032b61abd998a1f81b206a4517e2e3db2f (patch) | |
tree | 2a7aae098a1d0f529b7a68a9168547636da2a692 /drivers/watchdog/f71808e_wdt.c | |
parent | watchdog: xen_wdt: fix potential build failure (diff) | |
download | linux-a17f4f032b61abd998a1f81b206a4517e2e3db2f.tar.xz linux-a17f4f032b61abd998a1f81b206a4517e2e3db2f.zip |
watchdog: sp5100_tco.c: fix potential build failure
isp5100_tco.c uses watchdog core functions (from watchdog_core.c) and, when
compiled without CONFIG_WATCHDOG_CORE being set, it produces the
following build error:
ERROR: "devm_watchdog_register_device" [drivers/watchdog/sp5100_tco.ko] undefined!
ERROR: "watchdog_init_timeout" [drivers/watchdog/sp5100_tco.ko] undefined!
Fix this by selecting CONFIG_WATCHDOG_CORE.
Fixes: 7cd9d5fff792 ("watchdog: sp5100_tco: Convert to use watchdog subsystem")
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/f71808e_wdt.c')
0 files changed, 0 insertions, 0 deletions