2019-11-27 08:55:30

by David Engraf

[permalink] [raw]
Subject: [PATCH] watchdog: max77620_wdt: fix potential build errors

max77620_wdt uses watchdog core functions. Enable CONFIG_WATCHDOG_CORE
to fix potential build errors.

Signed-off-by: David Engraf <[email protected]>
---
drivers/watchdog/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 58e7c100b6ad..c9cc34f4e541 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -687,6 +687,7 @@ config MAX63XX_WATCHDOG
config MAX77620_WATCHDOG
tristate "Maxim Max77620 Watchdog Timer"
depends on MFD_MAX77620 || COMPILE_TEST
+ select WATCHDOG_CORE
help
This is the driver for the Max77620 watchdog timer.
Say 'Y' here to enable the watchdog timer support for
--
2.17.1


2019-11-27 14:21:52

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH] watchdog: max77620_wdt: fix potential build errors

On 11/27/19 12:46 AM, David Engraf wrote:
> max77620_wdt uses watchdog core functions. Enable CONFIG_WATCHDOG_CORE
> to fix potential build errors.
>
> Signed-off-by: David Engraf <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> drivers/watchdog/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index 58e7c100b6ad..c9cc34f4e541 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -687,6 +687,7 @@ config MAX63XX_WATCHDOG
> config MAX77620_WATCHDOG
> tristate "Maxim Max77620 Watchdog Timer"
> depends on MFD_MAX77620 || COMPILE_TEST
> + select WATCHDOG_CORE
> help
> This is the driver for the Max77620 watchdog timer.
> Say 'Y' here to enable the watchdog timer support for
>

2019-12-23 07:14:23

by David Engraf

[permalink] [raw]
Subject: [PATCH RESEND] watchdog: max77620_wdt: fix potential build errors

max77620_wdt uses watchdog core functions. Enable CONFIG_WATCHDOG_CORE
to fix potential build errors.

Signed-off-by: David Engraf <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
---
drivers/watchdog/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 58e7c100b6ad..c9cc34f4e541 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -687,6 +687,7 @@ config MAX63XX_WATCHDOG
config MAX77620_WATCHDOG
tristate "Maxim Max77620 Watchdog Timer"
depends on MFD_MAX77620 || COMPILE_TEST
+ select WATCHDOG_CORE
help
This is the driver for the Max77620 watchdog timer.
Say 'Y' here to enable the watchdog timer support for
--
2.17.1