On Tue, Aug 16, 2016 at 10:06 AM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: > The UserMode (UM) Linux build was failing in gpiolib-of as it requires > ioremap()/iounmap() to exist, which is absent from UM. The non-existence > of IO memory is negatively defined as CONFIG_NO_IOMEM so put a reverse > dependency on !NO_IOMEM for OF_GPIO to fix the build. > > Cc: stable@xxxxxxxxxxxxxxx > Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx> > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > --- > drivers/gpio/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index 98dd47a30fc7..a6026f2fe7f5 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -50,6 +50,7 @@ config GPIO_DEVRES > config OF_GPIO > def_bool y > depends on OF > + depends on !NO_IOMEM depends on HAS_IOMEM? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html