OSDN Git Service

watchdog: advantech_ec_wdt: fix Kconfig dependencies
authorFlorent CARLI <fcarli@gmail.com>
Fri, 21 Jul 2023 08:13:47 +0000 (10:13 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 13 Aug 2023 12:29:50 +0000 (14:29 +0200)
This driver uses the WATCHDOG_CORE framework and ISA_BUS_API.
This commit has these dependencies correctly selected.

Signed-off-by: Florent CARLI <fcarli@gmail.com>
Co-authored-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230721081347.52069-1-fcarli@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/Kconfig

index a23f7a0..5a1d038 100644 (file)
@@ -1075,6 +1075,8 @@ config ADVANTECH_WDT
 config ADVANTECH_EC_WDT
        tristate "Advantech Embedded Controller Watchdog Timer"
        depends on X86
+       select ISA_BUS_API
+       select WATCHDOG_CORE
        help
                This driver supports Advantech products with ITE based Embedded Controller.
                It does not support Advantech products with other ECs or without EC.