diff options
author | Thomas Meyer <thomas@m3y3r.de> | 2017-08-10 10:53:53 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-27 12:36:45 -0800 |
commit | 141cbfba1d0502006463aa80f57c64086226af1a (patch) | |
tree | 03afcacaf60f9417437916b98e2821db13770555 | |
parent | 152e93af3cfe2d29d8136cc0a02a8612507136ee (diff) | |
download | op-kernel-dev-141cbfba1d0502006463aa80f57c64086226af1a.zip op-kernel-dev-141cbfba1d0502006463aa80f57c64086226af1a.tar.gz |
auxdisplay: img-ascii-lcd: Only build on archs that have IOMEM
This avoids the MODPOST error:
ERROR: "devm_ioremap_resource" [drivers/auxdisplay/img-ascii-lcd.ko] undefined!
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/auxdisplay/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/auxdisplay/Kconfig b/drivers/auxdisplay/Kconfig index d7d2111..2c2ed9c 100644 --- a/drivers/auxdisplay/Kconfig +++ b/drivers/auxdisplay/Kconfig @@ -136,6 +136,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 |