diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2014-05-22 10:54:23 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-06-03 18:50:25 +1000 |
commit | 762d9a593540d21780f502e083ea300b6cef8da1 (patch) | |
tree | e4cc1d5c00504bb642877cd32459d1388e8d3751 /drivers/gpio | |
parent | 59bf789c2e76c5d9835ca03e1bb50fa1080d4ce8 (diff) |
drivers/gpio/gpio-zevio.c: fix build
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-zevio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c index 54e54e4cc6c..cd71e5769a7 100644 --- a/drivers/gpio/gpio-zevio.c +++ b/drivers/gpio/gpio-zevio.c @@ -18,6 +18,10 @@ #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. |