Skip to content

Commit 141cbfb

Browse files
thomasmeytorvalds
authored andcommitted
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 <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 152e93a commit 141cbfb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/auxdisplay/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ config CFAG12864B_RATE
136136

137137
config IMG_ASCII_LCD
138138
tristate "Imagination Technologies ASCII LCD Display"
139+
depends on HAS_IOMEM
139140
default y if MIPS_MALTA || MIPS_SEAD3
140141
select SYSCON
141142
help

0 commit comments

Comments
 (0)