]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7057/1: mach-pnx4008: rename GPIO header
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Aug 2011 11:51:24 +0000 (12:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 23 Aug 2011 14:30:04 +0000 (15:30 +0100)
commit21bbbbeaf1f1bf0041a5432c6d66b89dfa55265a
tree1eb7fc2da41d9687f363ec6ae7b66bf5ac0d2880
parent2559ee6d13e0286a3942ecd4f39ebaad44daf511
ARM: 7057/1: mach-pnx4008: rename GPIO header

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.

Acked-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pnx4008/gpio.c
arch/arm/mach-pnx4008/include/mach/gpio-pnx4008.h [new file with mode: 0644]
arch/arm/mach-pnx4008/include/mach/gpio.h [deleted file]
arch/arm/mach-pnx4008/serial.c