]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/gpio/gpio-zevio.c: fix build
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 24 Apr 2014 23:03:55 +0000 (09:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 29 Apr 2014 06:25:34 +0000 (16:25 +1000)
Unbreak i386 allmodconfig.

This is a hack - please fix properly ;)

Cc: Fabian Vogt <fabian@ritter-vogt.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/gpio/gpio-zevio.c

index 6270f755d0ed3d3107b846c1f6dbbcded0ba1d7a..f20941c9ea4bb7fa01348fef0fade4f30cfc413f 100644 (file)
 #include <linux/slab.h>
 #include <linux/gpio.h>
 
+#ifndef IOMEM
+#define IOMEM(x)    ((void __force __iomem *)(x))
+#endif
+
 /*
  * Memory layout:
  * This chip has four gpio sections, each controls 8 GPIOs.