[PATCH] watchdog: advantech_ec_wdt: fix Kconfig dependencies

From: Florent CARLI
Date: Fri Jul 21 2023 - 04:14:01 EST


This driver uses the WATCHDOG_CORE framework and ISA_BUS_API.
This commit has these dependencies correctly selected.

Signed-off-by: Florent CARLI <fcarli@xxxxxxxxx>
Co-authored-by: Yoann Congal <yoann.congal@xxxxxxxx>
---
drivers/watchdog/Kconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index ee97d89dfc11..2108283b438c 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -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.
--
2.39.2 (Apple Git-143)