watchdog: wdat_wdt: Select WATCHDOG_CORE
Subsystems (2)
PATCH 1/1 watchdog: wdat_wdt: Select WATCHDOG_CORE
The WDAT watchdog driver uses functionality provided by the watchdog timer core but it did not select it explicitly. This results following linker error when only WDAT_WDT is enabled in Kconfig:
drivers/built-in.o: In function `wdat_wdt_probe':
drivers/watchdog/wdat_wdt.c:444: undefined reference to `devm_watchdog_register_device'
Fix this by explicitly selecting WATCHDOG_CORE when WDAT watchdog driver is enabled.
--- drivers/watchdog/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/watchdog/Kconfig +1 -0
@@ -155,6 +155,7 @@ config TANGOX_WATCHDOG config WDAT_WDT tristate "ACPI Watchdog Action Table (WDAT)" depends on ACPI + select WATCHDOG_CORE select ACPI_WATCHDOG help This driver adds support for systems with ACPI Watchdog Action
Signature · 1 line
2.10.2
Quoted 7 lines · Mika Westerberg
The WDAT watchdog driver uses functionality provided by the watchdog timer core but it did not select it explicitly. This results following linker error when only
WDAT_WDTis enabled inKconfig:
drivers/built-in.o: In function `wdat_wdt_probe':
drivers/watchdog/wdat_wdt.c:444: undefined reference to `devm_watchdog_register_device'
Quoted 6 lines
Fix this by explicitly selecting
WATCHDOG_COREwhen WDAT watchdog driver is enabled.Fixes 058dfc767008 (ACPI / watchdog: Add support for WDAT hardware watchdog)Reported-by Vegard Nossum <[email protected]>Signed-off-by Mika Westerberg <[email protected]>
Quoted 17 lines
--- drivers/watchdog/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/watchdog/Kconfig +1
-0@@ -155,6 +155,7 @@ config TANGOX_WATCHDOG config WDAT_WDT tristate "ACPI Watchdog Action Table (WDAT)" depends on ACPI + select WATCHDOG_CORE select ACPI_WATCHDOG help This driver adds support for systems with ACPI Watchdog Action
Rafael J. Wysocki
AppliedQuoted 8 lines · Guenter Roeck
Quoted 7 lines · Mika Westerberg
The WDAT watchdog driver uses functionality provided by the watchdog timer core but it did not select it explicitly. This results following linker error when only
WDAT_WDTis enabled inKconfig:
drivers/built-in.o: In function `wdat_wdt_probe':
drivers/watchdog/wdat_wdt.c:444: undefined reference to `devm_watchdog_register_device'
Quoted 9 lines
Quoted 6 lines
Fix this by explicitly selecting
WATCHDOG_COREwhen WDAT watchdog driver is enabled.Fixes 058dfc767008 (ACPI / watchdog: Add support for WDAT hardware watchdog)Reported-by Vegard Nossum <[email protected]>Signed-off-by Mika Westerberg <[email protected]>Reviewed-by Guenter Roeck <[email protected]>
Applied.
Thanks,
Rafael