Skip to content

Commit a17f4f0

Browse files
author
Wim Van Sebroeck
committed
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: 7cd9d5f ("watchdog: sp5100_tco: Convert to use watchdog subsystem") Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 4cd6764 commit a17f4f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/watchdog/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,7 @@ config F71808E_WDT
904904
config SP5100_TCO
905905
tristate "AMD/ATI SP5100 TCO Timer/Watchdog"
906906
depends on X86 && PCI
907+
select WATCHDOG_CORE
907908
---help---
908909
Hardware watchdog driver for the AMD/ATI SP5100 chipset. The TCO
909910
(Total Cost of Ownership) timer is a watchdog timer that will reboot

0 commit comments

Comments
 (0)