mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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: 058dfc7670
(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>
This commit is contained in:
parent
28e3d7002b
commit
effb46b40f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user