summaryrefslogtreecommitdiff
path: root/arch/arm/mach-clps711x/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-clps711x/common.h')
-rw-r--r--arch/arm/mach-clps711x/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-clps711x/common.h b/arch/arm/mach-clps711x/common.h
index fc0f065..dc60cae 100644
--- a/arch/arm/mach-clps711x/common.h
+++ b/arch/arm/mach-clps711x/common.h
@@ -4,6 +4,9 @@
* Common bits.
*/
+#define CLPS711X_NR_GPIO (4 * 8 + 3)
+#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
+
struct sys_timer;
extern void clps711x_map_io(void);