]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drivers/gpio/gpio-zevio.c: fix build
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 26 Jun 2014 00:43:14 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 27 Jun 2014 04:21:46 +0000 (14:21 +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 54e54e4cc6c44715206860022797e2b24792b8fa..cd71e5769a7650041b3aff89dfe8dcad30edd0ed 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.