From: Andrew Morton Date: Thu, 26 Jun 2014 00:43:14 +0000 (+1000) Subject: drivers/gpio/gpio-zevio.c: fix build X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b089818f43545ebad14cf197ce9c97e969a2e102;p=karo-tx-linux.git drivers/gpio/gpio-zevio.c: fix build Unbreak i386 allmodconfig. This is a hack - please fix properly ;) Cc: Fabian Vogt Cc: Linus Walleij Signed-off-by: Andrew Morton --- diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c index 54e54e4cc6c4..cd71e5769a76 100644 --- a/drivers/gpio/gpio-zevio.c +++ b/drivers/gpio/gpio-zevio.c @@ -18,6 +18,10 @@ #include #include +#ifndef IOMEM +#define IOMEM(x) ((void __force __iomem *)(x)) +#endif + /* * Memory layout: * This chip has four gpio sections, each controls 8 GPIOs.