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>
This commit is contained in:
parent
152e93af3c
commit
141cbfba1d
|
@ -136,6 +136,7 @@ config CFAG12864B_RATE
|
||||||
|
|
||||||
config IMG_ASCII_LCD
|
config IMG_ASCII_LCD
|
||||||
tristate "Imagination Technologies ASCII LCD Display"
|
tristate "Imagination Technologies ASCII LCD Display"
|
||||||
|
depends on HAS_IOMEM
|
||||||
default y if MIPS_MALTA || MIPS_SEAD3
|
default y if MIPS_MALTA || MIPS_SEAD3
|
||||||
select SYSCON
|
select SYSCON
|
||||||
help
|
help
|
||||||
|
|
Loading…
Reference in New Issue