Skip to content

Commit effb46b

Browse files
westerirafaeljw
authored andcommitted
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. Fixes: 058dfc7 (ACPI / watchdog: Add support for WDAT hardware watchdog) Reported-by: Vegard Nossum <vegard.nossum@gmail.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 28e3d70 commit effb46b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/watchdog/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ config TANGOX_WATCHDOG
155155
config WDAT_WDT
156156
tristate "ACPI Watchdog Action Table (WDAT)"
157157
depends on ACPI
158+
select WATCHDOG_CORE
158159
select ACPI_WATCHDOG
159160
help
160161
This driver adds support for systems with ACPI Watchdog Action

0 commit comments

Comments
 (0)