diff mbox series

watchdog: advantech_ec_wdt: fix Kconfig dependencies

Message ID 20230721081347.52069-1-fcarli@gmail.com (mailing list archive)
State Accepted
Headers show
Series watchdog: advantech_ec_wdt: fix Kconfig dependencies | expand

Commit Message

Florent CARLI July 21, 2023, 8:13 a.m. UTC
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>
---
 drivers/watchdog/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Guenter Roeck July 21, 2023, 1:42 p.m. UTC | #1
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@gmail.com>
> Co-authored-by: Yoann Congal <yoann.congal@smile.fr>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>  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)
>
diff mbox series

Patch

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.