diff options
author | Magnus Damm <damm@igel.co.jp> | 2007-07-18 04:57:34 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-19 23:18:20 -0400 |
commit | 90015c89386ffb8967422fbe9f5e7babf1dc2c5e (patch) | |
tree | 390d23e35d497237c8ff06b95c41cda4a92bb1d5 /include/asm-sh/hw_irq.h | |
parent | 493a358e0a8992ec13098dd084223b55b05a7f03 (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/asm-sh/hw_irq.h')
-rw-r--r-- | include/asm-sh/hw_irq.h | 4 |
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 | ||
25 | void register_intc2_controller(struct intc2_desc *); | 25 | void register_intc2_controller(struct intc2_desc *); |
26 | void init_IRQ_intc2(void); | ||
27 | 26 | ||
28 | struct ipr_data { | 27 | struct ipr_data { |
29 | unsigned char irq; | 28 | unsigned char irq; |
@@ -41,7 +40,6 @@ struct ipr_desc { | |||
41 | }; | 40 | }; |
42 | 41 | ||
43 | void register_ipr_controller(struct ipr_desc *); | 42 | void register_ipr_controller(struct ipr_desc *); |
44 | void 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 | ||
116 | void __init register_intc_controller(struct intc_desc *desc); | 114 | void __init register_intc_controller(struct intc_desc *desc); |
117 | 115 | ||
116 | void __init plat_irq_setup(void); | ||
117 | |||
118 | #endif /* __ASM_SH_HW_IRQ_H */ | 118 | #endif /* __ASM_SH_HW_IRQ_H */ |