]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
auxdisplay: img-ascii-lcd: Only build on archs that have IOMEM
authorThomas Meyer <thomas@m3y3r.de>
Thu, 10 Aug 2017 08:53:53 +0000 (10:53 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 27 Nov 2017 20:36:45 +0000 (12:36 -0800)
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>
drivers/auxdisplay/Kconfig

index d7d21118d3e0f5fc23bad06ccbaaf5c2b409e9e1..2c2ed9cf879626692706bdf86f447cb4d8c05c26 100644 (file)
@@ -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