summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/sh73a0.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-29 21:33:54 +0200
committerSimon Horman <horms+renesas@verge.net.au>2013-08-06 18:07:13 +0900
commit282b583f752f996ee5c33b0cdc18adf3b5094ee0 (patch)
treee02242564daa64938043d67d67b1c82ab7a7aaa7 /arch/arm/mach-shmobile/include/mach/sh73a0.h
parent6de69131854501dcc9585d44087430584f8ccdf4 (diff)
downloadop-kernel-dev-282b583f752f996ee5c33b0cdc18adf3b5094ee0.zip
op-kernel-dev-282b583f752f996ee5c33b0cdc18adf3b5094ee0.tar.gz
ARM: shmobile: sh73a0: Remove global GPIO_NR definition
The total number of SoC GPIOs is only used to compute the base GPIO number of th PCF8575 GPIO extender on the KZM9G board. As GPIO allocation became fully dynamic with DT, no other SH73A0 board will use the GPIO_NR macro. Move it to the KZM9G board file. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
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, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/sh73a0.h b/arch/arm/mach-shmobile/include/mach/sh73a0.h
index 680dc5f..359b582 100644
--- a/arch/arm/mach-shmobile/include/mach/sh73a0.h
+++ b/arch/arm/mach-shmobile/include/mach/sh73a0.h
@@ -1,8 +1,6 @@
#ifndef __ASM_SH73A0_H__
#define __ASM_SH73A0_H__
-#define GPIO_NR 310
-
/* DMA slave IDs */
enum {
SHDMA_SLAVE_INVALID,
OpenPOWER on IntegriCloud