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 /arch/sh/kernel/cpu/sh3 | |
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 'arch/sh/kernel/cpu/sh3')
-rw-r--r-- | arch/sh/kernel/cpu/sh3/setup-sh7705.c | 2 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh3/setup-sh7709.c | 2 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/sh3/setup-sh7710.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh7705.c b/arch/sh/kernel/cpu/sh3/setup-sh7705.c index a55b8ce2c54c..ebd9d06d8bdd 100644 --- a/arch/sh/kernel/cpu/sh3/setup-sh7705.c +++ b/arch/sh/kernel/cpu/sh3/setup-sh7705.c | |||
@@ -92,7 +92,7 @@ static struct ipr_desc ipr_irq_desc = { | |||
92 | }, | 92 | }, |
93 | }; | 93 | }; |
94 | 94 | ||
95 | void __init init_IRQ_ipr(void) | 95 | void __init plat_irq_setup(void) |
96 | { | 96 | { |
97 | register_ipr_controller(&ipr_irq_desc); | 97 | register_ipr_controller(&ipr_irq_desc); |
98 | } | 98 | } |
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh7709.c b/arch/sh/kernel/cpu/sh3/setup-sh7709.c index d79ec0c0522f..086f8e2545af 100644 --- a/arch/sh/kernel/cpu/sh3/setup-sh7709.c +++ b/arch/sh/kernel/cpu/sh3/setup-sh7709.c | |||
@@ -139,7 +139,7 @@ static struct ipr_desc ipr_irq_desc = { | |||
139 | }, | 139 | }, |
140 | }; | 140 | }; |
141 | 141 | ||
142 | void __init init_IRQ_ipr(void) | 142 | void __init plat_irq_setup(void) |
143 | { | 143 | { |
144 | register_ipr_controller(&ipr_irq_desc); | 144 | register_ipr_controller(&ipr_irq_desc); |
145 | } | 145 | } |
diff --git a/arch/sh/kernel/cpu/sh3/setup-sh7710.c b/arch/sh/kernel/cpu/sh3/setup-sh7710.c index f40e6dac337d..132284893373 100644 --- a/arch/sh/kernel/cpu/sh3/setup-sh7710.c +++ b/arch/sh/kernel/cpu/sh3/setup-sh7710.c | |||
@@ -101,7 +101,7 @@ static struct ipr_desc ipr_irq_desc = { | |||
101 | }, | 101 | }, |
102 | }; | 102 | }; |
103 | 103 | ||
104 | void __init init_IRQ_ipr(void) | 104 | void __init plat_irq_setup(void) |
105 | { | 105 | { |
106 | register_ipr_controller(&ipr_irq_desc); | 106 | register_ipr_controller(&ipr_irq_desc); |
107 | } | 107 | } |