Skip to content

Commit

Permalink
sh: remove obsolete hw_interrupt_type
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner authored and Paul Mundt committed May 3, 2009
1 parent 0cd5f7b commit d804983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/sh/kernel/cpu/irq/imask.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static unsigned int startup_imask_irq(unsigned int irq)
return 0; /* never anything pending */
}

static struct hw_interrupt_type imask_irq_type = {
static struct irq_chip imask_irq_type = {
.typename = "SR.IMASK",
.startup = startup_imask_irq,
.shutdown = shutdown_imask_irq,
Expand Down
2 changes: 1 addition & 1 deletion arch/sh/kernel/cpu/irq/intc-sh5.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static void disable_intc_irq(unsigned int irq);
static void mask_and_ack_intc(unsigned int);
static void end_intc_irq(unsigned int irq);

static struct hw_interrupt_type intc_irq_type = {
static struct irq_chip intc_irq_type = {
.typename = "INTC",
.startup = startup_intc_irq,
.shutdown = shutdown_intc_irq,
Expand Down

0 comments on commit d804983

Please sign in to comment.