]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * linux/arch/arm/mach-clps711x/common.h | |
3 | * | |
4 | * Common bits. | |
5 | */ | |
6 | ||
19792610 | 7 | #define CLPS711X_NR_IRQS (33) |
b3a076dd AS |
8 | #define CLPS711X_NR_GPIO (4 * 8 + 3) |
9 | #define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit)) | |
10 | ||
1da177e4 LT |
11 | extern void clps711x_map_io(void); |
12 | extern void clps711x_init_irq(void); | |
6bb27d73 | 13 | extern void clps711x_timer_init(void); |
99f04c8f | 14 | extern void clps711x_handle_irq(struct pt_regs *regs); |
6c000712 | 15 | extern void clps711x_restart(char mode, const char *cmd); |