[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <77c1e557-4941-3806-2933-6c3583576390@infradead.org>
Date: Mon, 3 Feb 2020 08:10:29 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: LKML <linux-kernel@...r.kernel.org>,
"linux-watchdog@...r.kernel.org" <linux-watchdog@...r.kernel.org>
Cc: "wim@...ux-watchdog.org" <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Matthias Brugger <matthias.bgg@...il.com>
Subject: [PATCH -next] watchdog: fix mtk_wdt.c RESET_CONTROLLER build error
From: Randy Dunlap <rdunlap@...radead.org>
Fix build error when CONFIG_RESET_CONTROLLER is not set by
selecting RESET_CONTROLLER.
ld: drivers/watchdog/mtk_wdt.o: in function `mtk_wdt_probe':
mtk_wdt.c:(.text+0x3ec): undefined reference to `devm_reset_controller_register'
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Wim Van Sebroeck <wim@...ux-watchdog.org>
Cc: Guenter Roeck <linux@...ck-us.net>
Cc: Matthias Brugger <matthias.bgg@...il.com>
Cc: linux-watchdog@...r.kernel.org
---
drivers/watchdog/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20200203.orig/drivers/watchdog/Kconfig
+++ linux-next-20200203/drivers/watchdog/Kconfig
@@ -841,6 +841,7 @@ config MEDIATEK_WATCHDOG
tristate "Mediatek SoCs watchdog support"
depends on ARCH_MEDIATEK || COMPILE_TEST
select WATCHDOG_CORE
+ select RESET_CONTROLLER
help
Say Y here to include support for the watchdog timer
in Mediatek SoCs.
Powered by blists - more mailing lists