diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2016-11-21 15:33:07 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-21 22:49:17 +0100 |
commit | effb46b40f8053fd19698daf9e6b5833cabeba29 (patch) | |
tree | ccd2cb07ac20d51fe1d9a5346a42f56221054948 /drivers/watchdog/aspeed_wdt.c | |
parent | 28e3d7002ba9f773662b2cf75d28cadfa29dc442 (diff) | |
download | linux-effb46b40f8053fd19698daf9e6b5833cabeba29.tar.gz |
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: 058dfc767008 (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>
Diffstat (limited to 'drivers/watchdog/aspeed_wdt.c')
0 files changed, 0 insertions, 0 deletions