diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2014-12-16 13:32:43 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-12-19 19:14:08 +1100 |
commit | d64da127bb14ed28c4b5e0676043b330ced583f2 (patch) | |
tree | 1e473cd46e510787000353aff76798799f9c5eb9 | |
parent | d45262453122c02a058f1fa264ab6b485aab011c (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>
-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 f769cd53f4e..e3856c62d3c 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. |