* [PATCH] watchdog: cadence: Add dependency on HAS_IOMEM
@ 2015-05-04 19:01 Richard Weinberger
2015-05-04 19:26 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Richard Weinberger @ 2015-05-04 19:01 UTC (permalink / raw)
To: wim; +Cc: linux-watchdog, linux-kernel, Richard Weinberger
Not all architectures have io memory.
Fixes:
drivers/built-in.o: In function `cdns_wdt_probe':
cadence_wdt.c:(.text+0x33b7c9): undefined reference to `devm_ioremap_resource'
Signed-off-by: Richard Weinberger <richard@nod.at>
---
drivers/watchdog/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index e5e7c55..2634948 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -169,6 +169,7 @@ config AT91SAM9X_WATCHDOG
config CADENCE_WATCHDOG
tristate "Cadence Watchdog Timer"
+ depends on HAS_IOMEM
select WATCHDOG_CORE
help
Say Y here if you want to include support for the watchdog
--
1.8.4.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] watchdog: cadence: Add dependency on HAS_IOMEM
2015-05-04 19:01 [PATCH] watchdog: cadence: Add dependency on HAS_IOMEM Richard Weinberger
@ 2015-05-04 19:26 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2015-05-04 19:26 UTC (permalink / raw)
To: Richard Weinberger; +Cc: wim, linux-watchdog, linux-kernel
On Mon, May 04, 2015 at 09:01:25PM +0200, Richard Weinberger wrote:
> Not all architectures have io memory.
>
> Fixes:
> drivers/built-in.o: In function `cdns_wdt_probe':
> cadence_wdt.c:(.text+0x33b7c9): undefined reference to `devm_ioremap_resource'
>
> Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-04 19:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-04 19:01 [PATCH] watchdog: cadence: Add dependency on HAS_IOMEM Richard Weinberger
2015-05-04 19:26 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox