Re: [PATCH v2] mach-ep93xx: break out GPIO driver specifics

From: Mika Westerberg
Date: Sat Oct 15 2011 - 14:20:51 EST


On Tue, Sep 20, 2011 at 10:42:12AM +0200, Linus Walleij wrote:
> arch/arm/mach-ep93xx/core.c | 1 +
> arch/arm/mach-ep93xx/edb93xx.c | 1 +
> arch/arm/mach-ep93xx/include/mach/gpio-ep93xx.h | 100 +++++++++++++++++++++
> arch/arm/mach-ep93xx/include/mach/gpio.h | 105 -----------------------

I just tried to compile latest linux-next and due to missing <mach/gpio.h> I
get:

In file included from include/linux/gpio.h:18:0,
from drivers/gpio/gpiolib.c:10:
/home/westeri/devel/kernel/linux/arch/arm/include/asm/gpio.h:5:23: fatal error: mach/gpio.h: No such file or directory
compilation terminated.
make[2]: *** [drivers/gpio/gpiolib.o] Error 1

It looks like arch/arm/include/asm/gpio.h wants to have <mach/gpio.h>. Any idea
how to fix this?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/