undefined reference to `devm_watchdog_register_device'
From: Vegard Nossum
Date: Mon Nov 21 2016 - 04:07:11 EST
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?
Vegard