Re: [PATCH] watchdog: wdat_wdt: Select WATCHDOG_CORE

From: Rafael J. Wysocki
Date: Wed Nov 23 2016 - 20:23:24 EST


On Monday, November 21, 2016 07:14:08 AM Guenter Roeck wrote:
> On 11/21/2016 05:33 AM, Mika Westerberg wrote:
> > 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@xxxxxxxxx>
> > Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
>
> Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>
>

Applied.

Thanks,
Rafael