Re: [PATCH] auxdisplay: img-ascii-lcd: don't build without HAS_IOMEM
From: Arnd Bergmann
Date: Mon Jan 02 2017 - 03:33:12 EST
On Sunday, January 1, 2017 6:42:38 PM CET Randy Dunlap wrote:
> --- lnx-410-rc2.orig/drivers/auxdisplay/Kconfig
> +++ lnx-410-rc2/drivers/auxdisplay/Kconfig
> @@ -121,6 +121,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
Maybe "depends on MIPS || COMPILE_TEST" instead?
That hides the symbol for most people that don't really want the driver
anyway, and it takes care of HAS_IOMEM for UML as well.
Arnd