aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-lpc32xx.c
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2012-09-25 03:56:13 -0400
committerLinus Walleij <linus.walleij@linaro.org>2012-09-30 04:25:45 -0400
commit71fde00095dc25f74a2e7ba013747348ae6883cd (patch)
treecb85ce59c0a13f41d677dd07b38652a6568ef11b /drivers/gpio/gpio-lpc32xx.c
parent790b520e3accec16f3d93937ef6fb91d1fd30cf0 (diff)
gpio-lpc32xx: Add GPI_28
This patch adds the missing gpi28 to the list of GPIOs in the GPI P3 "chip". NOTE: This patch depends on incrementing LPC32XX_GPI_P3_MAX. When applied without the respective mach-lpc32xx patch (merged via arm-soc.git), gcc will give a warning about "excess elements in array initializer" but this doesn't harm. Signed-off-by: Roland Stigge <stigge@antcom.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-lpc32xx.c')
-rw-r--r--drivers/gpio/gpio-lpc32xx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c
index 8a420f13905e..40c5629221ee 100644
--- a/drivers/gpio/gpio-lpc32xx.c
+++ b/drivers/gpio/gpio-lpc32xx.c
@@ -113,7 +113,8 @@ static const char *gpi_p3_names[LPC32XX_GPI_P3_MAX] = {
113 NULL, NULL, NULL, "gpi15", 113 NULL, NULL, NULL, "gpi15",
114 "gpi16", "gpi17", "gpi18", "gpi19", 114 "gpi16", "gpi17", "gpi18", "gpi19",
115 "gpi20", "gpi21", "gpi22", "gpi23", 115 "gpi20", "gpi21", "gpi22", "gpi23",
116 "gpi24", "gpi25", "gpi26", "gpi27" 116 "gpi24", "gpi25", "gpi26", "gpi27",
117 "gpi28"
117}; 118};
118 119
119static const char *gpo_p3_names[LPC32XX_GPO_P3_MAX] = { 120static const char *gpo_p3_names[LPC32XX_GPO_P3_MAX] = {