watchdog: Make watchdog core configurable as module
authorGuenter Roeck <linux@roeck-us.net>
Mon, 29 Apr 2019 19:28:29 +0000 (12:28 -0700)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 5 May 2019 19:10:35 +0000 (21:10 +0200)
commit0d3e156399ec0b0a4c7ef03d4c801a0594c609cc
treeb37fa73d46458a3d5a16d273e61fd903d5c32dc1
parent471ce88b8402b5a18b00c4e1a3c4cd15367c070b
watchdog: Make watchdog core configurable as module

Under some circumstances it may be desirable to configure
the watchdog core as module. Enable it.

As part of this change, mark pretimeout governors as depending
on the watchdog core. This is necessary to prevent governors
from being built into the kernel if the watchdog core is built
as module.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/Kconfig