Skip to content

Commit 0f0dbd9

Browse files
mystictotWim Van Sebroeck
authored andcommitted
watchdog: ts72xx_wdt: fix build error
If TS72XX_WATCHDOG is y and WATCHDOG_CORE is not enabled or its m, then building fails: drivers/watchdog/ts72xx_wdt.o: in function `ts72xx_wdt_probe': ts72xx_wdt.c:(.text+0x14c): undefined reference to \ `watchdog_init_timeout' ts72xx_wdt.c:(.text+0x15c): undefined reference to \ `devm_watchdog_register_device' Select WATCHDOG_CORE to fix this. Signed-off-by: Shyam Saini <[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]>
1 parent 9cb1fd0 commit 0f0dbd9

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
@@ -678,6 +678,7 @@ config TS4800_WATCHDOG
678678
config TS72XX_WATCHDOG
679679
tristate "TS-72XX SBC Watchdog"
680680
depends on MACH_TS72XX || COMPILE_TEST
681+
select WATCHDOG_CORE
681682
help
682683
Technologic Systems TS-7200, TS-7250 and TS-7260 boards have
683684
watchdog timer implemented in a external CPLD chip. Say Y here

0 commit comments

Comments
 (0)