Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH] auxdisplay: img-ascii-lcd: don't build without HAS_IOMEM | Date | Mon, 02 Jan 2017 09:32:15 +0100 |
| |
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
| |