Skip to content

Commit

Permalink
sh: Fix irq cleanup fallout
Browse files Browse the repository at this point in the history
I missed that coccinelle does not fix up header files by default.

Reported-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: <lethal@linux-sh.org>
  • Loading branch information
Thomas Gleixner committed Mar 29, 2011
1 parent 86cc8df commit 286b9bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/sh/intc/internals.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ enum { MODE_ENABLE_REG = 0, /* Bit(s) set -> interrupt enabled */

static inline struct intc_desc_int *get_intc_desc(unsigned int irq)
{
struct irq_chip *chip = get_irq_chip(irq);
struct irq_chip *chip = irq_get_chip(irq);

return container_of(chip, struct intc_desc_int, chip);
}
Expand All @@ -103,7 +103,7 @@ static inline void activate_irq(int irq)
set_irq_flags(irq, IRQF_VALID);
#else
/* same effect on other architectures */
set_irq_noprobe(irq);
irq_set_noprobe(irq);
#endif
}

Expand Down

0 comments on commit 286b9bf

Please sign in to comment.