]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
watchdog: Change ISA_BUS_API dependency to selection
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Fri, 29 Dec 2017 20:13:34 +0000 (15:13 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 22 Feb 2018 15:14:45 +0000 (16:14 +0100)
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 <wim@iguana.be>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/watchdog/Kconfig

index aff773bcebdb59f14a88a3c92b779f5c03de3ba5..15ff803a666f975be65763171d4834e7834f167b 100644 (file)
@@ -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