aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <[email protected]>2017-12-29 15:13:34 -0500
committerLinus Walleij <[email protected]>2018-02-22 16:14:45 +0100
commitccfe35eac21e2f3f99f44c6f4e1bd4d3ba20fe3b (patch)
treef0dac1d06a2b71a8753c68ff048a32e2acdb01fc
parent1f8f93683da36a64109178344aee0dddd594bc7f (diff)
watchdog: Change ISA_BUS_API dependency to selection
The ISA_BUS_API Kconfig option enables the compilation of the ISA bus driver. The ISA bus driver does not perform any hardware interaction, and is instead just a thin layer of software abstraction to eliminate boilerplate code common to ISA-style device drivers. Since ISA_BUS_API has no dependencies and does not jeopardize the integrity of the system when enabled, drivers should select it when the ISA bus driver functionality is needed. Cc: Wim Van Sebroeck <[email protected]> Acked-by: Guenter Roeck <[email protected]> Signed-off-by: William Breathitt Gray <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
-rw-r--r--drivers/watchdog/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index aff773bcebdb..15ff803a666f 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -882,7 +882,8 @@ config ALIM7101_WDT
config EBC_C384_WDT
tristate "WinSystems EBC-C384 Watchdog Timer"
- depends on X86 && ISA_BUS_API
+ depends on X86
+ select ISA_BUS_API
select WATCHDOG_CORE
help
Enables watchdog timer support for the watchdog timer on the