From a1e6b41e8ec152efceb3128592b83d40c8a28334 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Tue, 23 Aug 2011 12:51:24 +0100 Subject: [PATCH] ARM: 7057/1: mach-pnx4008: rename GPIO header The PNX4008 header file is using the generic gpio and gpiolib namespace in yet the GPIO interface is not generic at all so rename it to This fixes a build failure in current -next: the includes were changed from to but since this platform isn't using generic gpio did not include and things broke apart. Acked-by: Vitaly Wool Signed-off-by: Linus Walleij Signed-off-by: Russell King --- arch/arm/mach-pnx4008/gpio.c | 2 +- arch/arm/mach-pnx4008/include/mach/{gpio.h => gpio-pnx4008.h} | 2 +- arch/arm/mach-pnx4008/serial.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename arch/arm/mach-pnx4008/include/mach/{gpio.h => gpio-pnx4008.h} (99%) diff --git a/arch/arm/mach-pnx4008/gpio.c b/arch/arm/mach-pnx4008/gpio.c index eef531b755ca..d3e71d3847b4 100644 --- a/arch/arm/mach-pnx4008/gpio.c +++ b/arch/arm/mach-pnx4008/gpio.c @@ -13,13 +13,13 @@ * is licensed "as is" without any warranty of any kind, whether express * or implied. */ -#include #include #include #include #include #include #include +#include /* register definitions */ #define PIO_VA_BASE IO_ADDRESS(PNX4008_PIO_BASE) diff --git a/arch/arm/mach-pnx4008/include/mach/gpio.h b/arch/arm/mach-pnx4008/include/mach/gpio-pnx4008.h similarity index 99% rename from arch/arm/mach-pnx4008/include/mach/gpio.h rename to arch/arm/mach-pnx4008/include/mach/gpio-pnx4008.h index 9591467eb9ec..41027dd7cf74 100644 --- a/arch/arm/mach-pnx4008/include/mach/gpio.h +++ b/arch/arm/mach-pnx4008/include/mach/gpio-pnx4008.h @@ -1,5 +1,5 @@ /* - * arch/arm/mach-pnx4008/include/mach/gpio.h + * arch/arm/mach-pnx4008/include/mach/gpio-pnx4008.h * * PNX4008 GPIO driver - header file * diff --git a/arch/arm/mach-pnx4008/serial.c b/arch/arm/mach-pnx4008/serial.c index eb29face3bb3..374c138ac1ac 100644 --- a/arch/arm/mach-pnx4008/serial.c +++ b/arch/arm/mach-pnx4008/serial.c @@ -9,7 +9,6 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#include #include #include #include @@ -20,6 +19,7 @@ #include #include +#include #include #define UART_3 0 -- GitLab