Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1730366 > unrolled thread

[PATCH] ARC: reset: Only build on archs that have IOMEM

Started byThomas Meyer <thomas@m3y3r.de>
First post2017-09-11 16:00 +0200
Last post2017-09-11 16:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARC: reset: Only build on archs that have IOMEM Thomas Meyer <thomas@m3y3r.de> - 2017-09-11 16:00 +0200

#1730366 — [PATCH] ARC: reset: Only build on archs that have IOMEM

FromThomas Meyer <thomas@m3y3r.de>
Date2017-09-11 16:00 +0200
Subject[PATCH] ARC: reset: Only build on archs that have IOMEM
Message-ID<uoxpM-42f-9@gated-at.bofh.it>
This avoids the error:
drivers/reset/reset-hsdk-v1.o: In function `hsdkv1_reset_probe':
/home/thomas/git/linux/drivers/reset/reset-hsdk-v1.c:101: undefined
reference to `devm_ioremap_resource'
collect2: error: ld returned 1 exit status

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
---
 drivers/reset/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 52d5251660b9..a656750667b2 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -36,6 +36,7 @@ config RESET_BERLIN
 
 config RESET_HSDK_V1
 	bool "HSDK v1 Reset Driver"
+	depends on HAS_IOMEM
 	default n
 	help
 	  This enables the reset controller driver for HSDK v1.
-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web