aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2007-07-18 04:57:34 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-07-19 23:18:20 -0400
commit90015c89386ffb8967422fbe9f5e7babf1dc2c5e (patch)
tree390d23e35d497237c8ff06b95c41cda4a92bb1d5 /include
parent493a358e0a8992ec13098dd084223b55b05a7f03 (diff)
sh: IPR/INTC2 IRQ setup consolidation.
This patch unifies the cpu specific interrupt setup functions for interrupt controller blocks such as ipr, intc2 and intc. There is no point in having separate functions for each interrupt controller, so let's clean this up. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sh/hw_irq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sh/hw_irq.h b/include/asm-sh/hw_irq.h
index 6c21cf0dd51f..92c9efd9276c 100644
--- a/include/asm-sh/hw_irq.h
+++ b/include/asm-sh/hw_irq.h
@@ -23,7 +23,6 @@ struct intc2_desc {
23}; 23};
24 24
25void register_intc2_controller(struct intc2_desc *); 25void register_intc2_controller(struct intc2_desc *);
26void init_IRQ_intc2(void);
27 26
28struct ipr_data { 27struct ipr_data {
29 unsigned char irq; 28 unsigned char irq;
@@ -41,7 +40,6 @@ struct ipr_desc {
41}; 40};
42 41
43void register_ipr_controller(struct ipr_desc *); 42void register_ipr_controller(struct ipr_desc *);
44void init_IRQ_ipr(void);
45 43
46/* 44/*
47 * Enable individual interrupt mode for external IPR IRQs. 45 * Enable individual interrupt mode for external IPR IRQs.
@@ -115,4 +113,6 @@ struct intc_desc symbol = { \
115 113
116void __init register_intc_controller(struct intc_desc *desc); 114void __init register_intc_controller(struct intc_desc *desc);
117 115
116void __init plat_irq_setup(void);
117
118#endif /* __ASM_SH_HW_IRQ_H */ 118#endif /* __ASM_SH_HW_IRQ_H */