]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/gpio/gpio-zevio.c: fix build
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 6 May 2014 00:26:38 +0000 (10:26 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 May 2014 06:41:31 +0000 (16:41 +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.