public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] auxdisplay: img-ascii-lcd: Only build on archs that have IOMEM
@ 2017-08-10  8:53 Thomas Meyer
  2017-08-10 18:24 ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Meyer @ 2017-08-10  8:53 UTC (permalink / raw)
  To: paul.burton, linux-kernel; +Cc: Thomas Meyer

This avoids the MODPOST error:
ERROR: "devm_ioremap_resource" [drivers/auxdisplay/img-ascii-lcd.ko] undefined!

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

diff --git a/drivers/auxdisplay/Kconfig b/drivers/auxdisplay/Kconfig
index 9ae6681c90ad..9088c66e4c08 100644
--- a/drivers/auxdisplay/Kconfig
+++ b/drivers/auxdisplay/Kconfig
@@ -135,6 +135,7 @@ config CFAG12864B_RATE
 
 config IMG_ASCII_LCD
 	tristate "Imagination Technologies ASCII LCD Display"
+	depends on HAS_IOMEM
 	default y if MIPS_MALTA || MIPS_SEAD3
 	select SYSCON
 	help
-- 
2.13.3

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

end of thread, other threads:[~2017-11-27 20:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-10  8:53 [PATCH] auxdisplay: img-ascii-lcd: Only build on archs that have IOMEM Thomas Meyer
2017-08-10 18:24 ` Randy Dunlap
2017-11-27 20:05   ` Thomas Meyer
2017-11-27 20:37     ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox