Re: [PATCH] watchdog: advantech_ec_wdt: fix Kconfig dependencies

From: Guenter Roeck
Date: Fri Jul 21 2023 - 09:42:08 EST


On Fri, Jul 21, 2023 at 10:13:47AM +0200, Florent CARLI wrote:
> 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>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>

> ---
> 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)
>