diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-05-02 16:01:20 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-03 04:28:13 -0400 |
commit | d80498398276ca8eee7ebdbe0d47e06d01317439 (patch) | |
tree | 6c8c5e79e3f8ce1a12ce3e759d1aae222c694a05 /arch/sh | |
parent | 0cd5f7b0c7fd96f9f00187ef2ad2328de28ae326 (diff) |
sh: remove obsolete hw_interrupt_type
Impact: cleanup
Convert the last remaining users to struct irq_chip and remove the
define.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/cpu/irq/imask.c | 2 | ||||
-rw-r--r-- | arch/sh/kernel/cpu/irq/intc-sh5.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/irq/imask.c b/arch/sh/kernel/cpu/irq/imask.c index 301b505c4278..f43753b54e1d 100644 --- a/arch/sh/kernel/cpu/irq/imask.c +++ b/arch/sh/kernel/cpu/irq/imask.c | |||
@@ -39,7 +39,7 @@ static unsigned int startup_imask_irq(unsigned int irq) | |||
39 | return 0; /* never anything pending */ | 39 | return 0; /* never anything pending */ |
40 | } | 40 | } |
41 | 41 | ||
42 | static struct hw_interrupt_type imask_irq_type = { | 42 | static struct irq_chip imask_irq_type = { |
43 | .typename = "SR.IMASK", | 43 | .typename = "SR.IMASK", |
44 | .startup = startup_imask_irq, | 44 | .startup = startup_imask_irq, |
45 | .shutdown = shutdown_imask_irq, | 45 | .shutdown = shutdown_imask_irq, |
diff --git a/arch/sh/kernel/cpu/irq/intc-sh5.c b/arch/sh/kernel/cpu/irq/intc-sh5.c index 726f0335da76..d8679a4d93a4 100644 --- a/arch/sh/kernel/cpu/irq/intc-sh5.c +++ b/arch/sh/kernel/cpu/irq/intc-sh5.c | |||
@@ -84,7 +84,7 @@ static void disable_intc_irq(unsigned int irq); | |||
84 | static void mask_and_ack_intc(unsigned int); | 84 | static void mask_and_ack_intc(unsigned int); |
85 | static void end_intc_irq(unsigned int irq); | 85 | static void end_intc_irq(unsigned int irq); |
86 | 86 | ||
87 | static struct hw_interrupt_type intc_irq_type = { | 87 | static struct irq_chip intc_irq_type = { |
88 | .typename = "INTC", | 88 | .typename = "INTC", |
89 | .startup = startup_intc_irq, | 89 | .startup = startup_intc_irq, |
90 | .shutdown = shutdown_intc_irq, | 90 | .shutdown = shutdown_intc_irq, |