summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/sh73a0.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-02-12 16:50:02 +0100
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-03-15 13:33:39 +0100
commitb58e5fac96e4f24fc9d5bce8692506ada3e244ca (patch)
treec009ed8714e01d015796e4377e7efdbbd6d83597 /arch/arm/mach-shmobile/include/mach/sh73a0.h
parent63d573835f835aab4c44d0e0342cf5976fb14b35 (diff)
downloadop-kernel-dev-b58e5fac96e4f24fc9d5bce8692506ada3e244ca.zip
op-kernel-dev-b58e5fac96e4f24fc9d5bce8692506ada3e244ca.tar.gz
ARM: shmobile: sh73a0: Support sparse GPIO numbers
The SH73A0 SoC has sparse GPIO numbers. Declare the pin numbers ranges in the PFC SoC data and use the pin numbers in the GPIO API. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/sh73a0.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/sh73a0.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/include/mach/sh73a0.h
index 606d31d..4dca135 100644
--- a/arch/arm/mach-shmobile/include/mach/sh73a0.h
+++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h
@@ -94,7 +94,7 @@ enum {
GPIO_PORT305, GPIO_PORT306, GPIO_PORT307, GPIO_PORT308, GPIO_PORT309,
/* Table 25-1 (Function 0-7) */
- GPIO_FN_VBUS_0,
+ GPIO_FN_VBUS_0 = 310,
GPIO_FN_GPI0,
GPIO_FN_GPI1,
GPIO_FN_GPI2,
OpenPOWER on IntegriCloud