Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / arch / arm / mach-clps711x / common.h
blob9a6767bfdc471c98a9f61d63288004ef5936cc43
1 /*
2 * linux/arch/arm/mach-clps711x/common.h
4 * Common bits.
5 */
7 #include <linux/reboot.h>
9 #define CLPS711X_NR_IRQS (33)
10 #define CLPS711X_NR_GPIO (4 * 8 + 3)
11 #define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
13 extern void clps711x_map_io(void);
14 extern void clps711x_init_irq(void);
15 extern void clps711x_timer_init(void);
16 extern void clps711x_handle_irq(struct pt_regs *regs);
17 extern void clps711x_restart(enum reboot_mode mode, const char *cmd);
18 extern void clps711x_init_early(void);