Skip to content

Commit

Permalink
gpio-lpc32xx: Add GPI_28
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roland Stigge authored and Linus Walleij committed Sep 30, 2012
1 parent 790b520 commit 71fde00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpio/gpio-lpc32xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ static const char *gpi_p3_names[LPC32XX_GPI_P3_MAX] = {
NULL, NULL, NULL, "gpi15",
"gpi16", "gpi17", "gpi18", "gpi19",
"gpi20", "gpi21", "gpi22", "gpi23",
"gpi24", "gpi25", "gpi26", "gpi27"
"gpi24", "gpi25", "gpi26", "gpi27",
"gpi28"
};

static const char *gpo_p3_names[LPC32XX_GPO_P3_MAX] = {
Expand Down

0 comments on commit 71fde00

Please sign in to comment.