From b089818f43545ebad14cf197ce9c97e969a2e102 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 26 Jun 2014 10:43:14 +1000 Subject: [PATCH] drivers/gpio/gpio-zevio.c: fix build Unbreak i386 allmodconfig. This is a hack - please fix properly ;) Cc: Fabian Vogt Cc: Linus Walleij Signed-off-by: Andrew Morton --- drivers/gpio/gpio-zevio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c index 54e54e4cc6c4..cd71e5769a76 100644 --- a/drivers/gpio/gpio-zevio.c +++ b/drivers/gpio/gpio-zevio.c @@ -18,6 +18,10 @@ #include #include +#ifndef IOMEM +#define IOMEM(x) ((void __force __iomem *)(x)) +#endif + /* * Memory layout: * This chip has four gpio sections, each controls 8 GPIOs. -- 2.39.5