[PATCH] mach-pnx4008: rename GPIO header

Vitaly Wool vitalywool at gmail.com
Tue Aug 23 05:00:36 EDT 2011


On Tue, Aug 23, 2011 at 10:05 AM, Linus Walleij
<linus.walleij at stericsson.com> wrote:
> From: Linus Walleij <linus.walleij at linaro.org>
>
> The PNX4008 header file is using the generic gpio and gpiolib
> namespace in <mach/gpio.h> yet the GPIO interface is not generic
> at all so rename it to <mach/gpio-pnx4008.h>
>
> This fixes a build failure in current -next: the includes were
> changed from <mach/gpio.h> to <linux/gpio.h> but since this
> platform isn't using generic gpio <linux/gpio.h> did not include
> <mach/gpio.h> and things broke apart.
>
> Cc: Vitaly Wool <vitalywool at gmail.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Acked-by: Vitaly Wool <vitalywool at gmail.com>



More information about the linux-arm-kernel mailing list