diff options
author | Thomas Meyer <thomas@m3y3r.de> | 2017-08-10 11:53:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-03 19:39:07 +0300 |
commit | c900ee9118d7cd0d1e5eba6727dd6c3c37a46e7f (patch) | |
tree | a321981fb7edf22492e2e83811ffd39ecd0eb5cc | |
parent | 0ffb252208a288589251ed0ada38424ccde217d5 (diff) | |
download | linux-c900ee9118d7cd0d1e5eba6727dd6c3c37a46e7f.tar.xz |
auxdisplay: img-ascii-lcd: Only build on archs that have IOMEM
[ Upstream commit 141cbfba1d0502006463aa80f57c64086226af1a ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 d7d21118d3e0..2c2ed9cf8796 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 |