mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* undefined reference to `devm_watchdog_register_device'
@ 2016-11-21  9:07 Vegard Nossum
  2016-11-21 13:04 ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Vegard Nossum @ 2016-11-21  9:07 UTC (permalink / raw)
  To: ACPI Devel Maling List, rafael; +Cc: Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: undefined reference to `devm_watchdog_register_device'
  2016-11-21  9:07 undefined reference to `devm_watchdog_register_device' Vegard Nossum
@ 2016-11-21 13:04 ` Rafael J. Wysocki
  2016-11-21 13:17   ` Mika Westerberg
  0 siblings, 1 reply; 3+ messages in thread
From: Rafael J. Wysocki @ 2016-11-21 13:04 UTC (permalink / raw)
  To: Vegard Nossum, Mika Westerberg
  Cc: ACPI Devel Maling List, Rafael J. Wysocki, Linux Kernel Mailing List

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: undefined reference to `devm_watchdog_register_device'
  2016-11-21 13:04 ` Rafael J. Wysocki
@ 2016-11-21 13:17   ` Mika Westerberg
  0 siblings, 0 replies; 3+ messages in thread
From: Mika Westerberg @ 2016-11-21 13:17 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Vegard Nossum, ACPI Devel Maling List, Linux Kernel Mailing List

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-21 13:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-21  9:07 undefined reference to `devm_watchdog_register_device' Vegard Nossum
2016-11-21 13:04 ` Rafael J. Wysocki
2016-11-21 13:17   ` Mika Westerberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome