arm:lpc32xx:Fix for missing GPI_28
authorHenri Li <HenryLi@xxxx.com>
Thu, 12 May 2011 07:53:29 +0000 (12:53 +0530)
committerBangaragiri G <bangaragiri.g@nxp.com>
Thu, 12 May 2011 07:53:29 +0000 (12:53 +0530)
The patch fixes the missing GPI_28 in GPIO driver

Signed-off-by: Bangaragiri G <bangaragiri.g@nxp.com>

arch/arm/mach-lpc32xx/gpiolib.c
arch/arm/mach-lpc32xx/include/mach/gpio.h

index 629b987..cfb00c2 100644 (file)
@@ -105,6 +105,7 @@ static char *gpi_p3_names[LPC32XX_GPI_P3_MAX] = {
        "gpi16", "gpi17", "gpi18", "gpi19",
        "gpi20", "gpi21", "gpi22", "gpi23",
        "gpi24", "gpi25", "gpi26", "gpi27"
+       "gpi28"
 };
 
 static char *gpo_p3_names[LPC32XX_GPO_P3_MAX] = {
index 67d03da..0c18c51 100644 (file)
@@ -34,7 +34,7 @@
 #define LPC32XX_GPIO_P1_MAX 24
 #define LPC32XX_GPIO_P2_MAX 13
 #define LPC32XX_GPIO_P3_MAX 6
-#define LPC32XX_GPI_P3_MAX 28
+#define LPC32XX_GPI_P3_MAX 29
 #define LPC32XX_GPO_P3_MAX 24
 
 #define LPC32XX_GPIO_P0_GRP 0