Messages in this thread | | | Date | Mon, 21 Nov 2016 15:17:34 +0200 | From | Mika Westerberg <> | Subject | Re: undefined reference to `devm_watchdog_register_device' |
| |
On Mon, Nov 21, 2016 at 02:04:34PM +0100, Rafael J. Wysocki wrote: > On Mon, Nov 21, 2016 at 10:07 AM, Vegard Nossum <vegard.nossum@gmail.com> wrote: > > Hi, > > > > I updated my config and set CONFIG_WDAT_WDT=y, got this: > > > > drivers/built-in.o: In function `wdat_wdt_probe': > > /home/vegard/linux/drivers/watchdog/wdat_wdt.c:444: undefined > > reference to `devm_watchdog_register_device' > > Makefile:962: recipe for target 'vmlinux' failed > > make: *** [vmlinux] Error 1 > > > > Looks like it's missing a select for WATCHDOG_CORE in the Kconfig? > > Mika?
That's right - we should select WATCHDOG_CORE there.
I'll submit a patch fixing this shortly.
| |