aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-29 15:28:30 -0400
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 15:10:35 -0400
commitec24292925384836763618b90f273c456dd3e8fe (patch)
tree329c653c3d597879ab981fe38687d9577c591fb8
parent0d3e156399ec0b0a4c7ef03d4c801a0594c609cc (diff)
watchdog: npcm: Enable modular builds
Most of the NPCM7XX drivers can be built as modules. The NPCM7XX watchdog driver code supports building it as module, but its configuration option is set to bool. Make itr tristate to actually support modular builds. This improves consistency with other drivers for the same platform and enables including the driver in multi- platform configurations. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
-rw-r--r--drivers/watchdog/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index c2d6934508ee..e5b30c4947d7 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -618,7 +618,7 @@ config COH901327_WATCHDOG
618 compiled as a module. 618 compiled as a module.
619 619
620config NPCM7XX_WATCHDOG 620config NPCM7XX_WATCHDOG
621 bool "Nuvoton NPCM750 watchdog" 621 tristate "Nuvoton NPCM750 watchdog"
622 depends on ARCH_NPCM || COMPILE_TEST 622 depends on ARCH_NPCM || COMPILE_TEST
623 default y if ARCH_NPCM7XX 623 default y if ARCH_NPCM7XX
624 select WATCHDOG_CORE 624 select WATCHDOG_CORE