Linux-Watchdog Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] watchdog: max77620_wdt: fix potential build errors
@ 2019-11-27  8:46 David Engraf
  2019-11-27 14:17 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: David Engraf @ 2019-11-27  8:46 UTC (permalink / raw)
  To: wim, linux, linux-watchdog; +Cc: linux-kernel, David Engraf

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

Signed-off-by: David Engraf <david.engraf@sysgo.com>
---
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] watchdog: max77620_wdt: fix potential build errors
  2019-11-27  8:46 [PATCH] watchdog: max77620_wdt: fix potential build errors David Engraf
@ 2019-11-27 14:17 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2019-11-27 14:17 UTC (permalink / raw)
  To: David Engraf, wim, linux-watchdog; +Cc: linux-kernel

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 <david.engraf@sysgo.com>

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

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-27  8:46 [PATCH] watchdog: max77620_wdt: fix potential build errors David Engraf
2019-11-27 14:17 ` Guenter Roeck

Linux-Watchdog Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-watchdog/0 linux-watchdog/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-watchdog linux-watchdog/ https://lore.kernel.org/linux-watchdog \
		linux-watchdog@vger.kernel.org
	public-inbox-index linux-watchdog

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-watchdog


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git