aboutsummaryrefslogtreecommitdiff
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.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/arm/mach-clps711x/common.h b/arch/arm/mach-clps711x/common.h
index b7c0c75c90c..7489139d5d6 100644
--- a/arch/arm/mach-clps711x/common.h
+++ b/arch/arm/mach-clps711x/common.h
@@ -4,14 +4,16 @@
* Common bits.
*/
-#define CLPS711X_NR_IRQS (33)
+#include <linux/reboot.h>
+
#define CLPS711X_NR_GPIO (4 * 8 + 3)
#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
-struct sys_timer;
-
extern void clps711x_map_io(void);
extern void clps711x_init_irq(void);
-extern void clps711x_handle_irq(struct pt_regs *regs);
-extern void clps711x_restart(char mode, const char *cmd);
-extern struct sys_timer clps711x_timer;
+extern void clps711x_timer_init(void);
+extern void clps711x_restart(enum reboot_mode mode, const char *cmd);
+extern void clps711x_init_early(void);
+
+/* drivers/irqchip/irq-clps711x.c */
+void clps711x_intc_init(phys_addr_t, resource_size_t);