aboutsummaryrefslogtreecommitdiffstats
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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-clps711x/common.h b/arch/arm/mach-clps711x/common.h
index fc0f0650dcb5..b7c0c75c90c0 100644
--- a/arch/arm/mach-clps711x/common.h
+++ b/arch/arm/mach-clps711x/common.h
@@ -4,9 +4,14 @@
4 * Common bits. 4 * Common bits.
5 */ 5 */
6 6
7#define CLPS711X_NR_IRQS (33)
8#define CLPS711X_NR_GPIO (4 * 8 + 3)
9#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
10
7struct sys_timer; 11struct sys_timer;
8 12
9extern void clps711x_map_io(void); 13extern void clps711x_map_io(void);
10extern void clps711x_init_irq(void); 14extern void clps711x_init_irq(void);
11extern struct sys_timer clps711x_timer; 15extern void clps711x_handle_irq(struct pt_regs *regs);
12extern void clps711x_restart(char mode, const char *cmd); 16extern void clps711x_restart(char mode, const char *cmd);
17extern struct sys_timer clps711x_timer;