blob: fe4cb0f10f3ea78c4ebcfc83f31eb068d9687803 [file] [log] [blame]
From koba@kmckk.co.jp Mon Sep 24 22:09:30 2012
From: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Date: Tue, 25 Sep 2012 14:07:45 +0900
Subject: [PATCH 09/21] ARM: mach-shmobile: sh73a0.h: add GPIO_NR
To: greg@kroah.com
Cc: ltsi-dev@lists.linuxfoundation.org, horms@verge.net.au, damm@opensource.se, kuninori.morimoto.gx@renesas.com, "Rafael J. Wysocki" <rjw@sisk.pl>, Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Message-ID: <1348549677-1458-10-git-send-email-koba@kmckk.co.jp>
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
GPIO_NR is added in order to clarify end of GPIO array.
We can add extra GPIO from it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Simon Horman <horms@verge.net.au>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
(cherry picked from commit bd8639b3885d2ac33b7e13d83d7849372a85fd07)
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
---
arch/arm/mach-shmobile/include/mach/sh73a0.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/include/mach/sh73a0.h
index cad5757..ac75857 100644
--- a/arch/arm/mach-shmobile/include/mach/sh73a0.h
+++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h
@@ -482,6 +482,9 @@ enum {
GPIO_FN_FSIAILR_PU,
GPIO_FN_FSIAIBT_PU,
GPIO_FN_FSIAISLD_PU,
+
+ /* end of GPIO */
+ GPIO_NR,
};
/* DMA slave IDs */
--
1.7.9.5