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 c2d6934..e5b30c4 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