diff options
Diffstat (limited to 'arch/arm/mach-clps711x/common.h')
-rw-r--r-- | arch/arm/mach-clps711x/common.h | 7 |
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 | |||
7 | struct sys_timer; | 11 | struct sys_timer; |
8 | 12 | ||
9 | extern void clps711x_map_io(void); | 13 | extern void clps711x_map_io(void); |
10 | extern void clps711x_init_irq(void); | 14 | extern void clps711x_init_irq(void); |
11 | extern struct sys_timer clps711x_timer; | 15 | extern void clps711x_handle_irq(struct pt_regs *regs); |
12 | extern void clps711x_restart(char mode, const char *cmd); | 16 | extern void clps711x_restart(char mode, const char *cmd); |
17 | extern struct sys_timer clps711x_timer; | ||