Commit ec242929 authored by Guenter Roeck's avatar Guenter Roeck Committed by Wim Van Sebroeck

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: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 0d3e1563
...@@ -618,7 +618,7 @@ config COH901327_WATCHDOG ...@@ -618,7 +618,7 @@ config COH901327_WATCHDOG
compiled as a module. compiled as a module.
config NPCM7XX_WATCHDOG config NPCM7XX_WATCHDOG
bool "Nuvoton NPCM750 watchdog" tristate "Nuvoton NPCM750 watchdog"
depends on ARCH_NPCM || COMPILE_TEST depends on ARCH_NPCM || COMPILE_TEST
default y if ARCH_NPCM7XX default y if ARCH_NPCM7XX
select WATCHDOG_CORE select WATCHDOG_CORE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment