watchdog: npcm: Enable modular builds
authorGuenter Roeck <linux@roeck-us.net>
Mon, 29 Apr 2019 19:28:30 +0000 (12:28 -0700)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 5 May 2019 19:10:35 +0000 (21:10 +0200)
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>
drivers/watchdog/Kconfig

index c2d6934508ee1b2b4d4639640facb54f9e5cf6a8..e5b30c4947d71a9a0f30123d7b5f9ac8c1a9d733 100644 (file)
@@ -618,7 +618,7 @@ config COH901327_WATCHDOG
          compiled as a module.
 
 config NPCM7XX_WATCHDOG
-       bool "Nuvoton NPCM750 watchdog"
+       tristate "Nuvoton NPCM750 watchdog"
        depends on ARCH_NPCM || COMPILE_TEST
        default y if ARCH_NPCM7XX
        select WATCHDOG_CORE