OSDN Git Service

ARM: mach-shmobile: sh73a0.h: add GPIO_NR
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 23 Apr 2012 06:53:07 +0000 (23:53 -0700)
committerRafael J. Wysocki <rjw@sisk.pl>
Sat, 12 May 2012 20:34:16 +0000 (22:34 +0200)
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>
arch/arm/mach-shmobile/include/mach/sh73a0.h

index cad5757..ac75857 100644 (file)
@@ -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 */