Commit 286b9bfe authored by Thomas Gleixner's avatar Thomas Gleixner

sh: Fix irq cleanup fallout

I missed that coccinelle does not fix up header files by default.
Reported-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: <lethal@linux-sh.org>
parent 86cc8dfc
...@@ -86,7 +86,7 @@ enum { MODE_ENABLE_REG = 0, /* Bit(s) set -> interrupt enabled */ ...@@ -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) 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); return container_of(chip, struct intc_desc_int, chip);
} }
...@@ -103,7 +103,7 @@ static inline void activate_irq(int irq) ...@@ -103,7 +103,7 @@ static inline void activate_irq(int irq)
set_irq_flags(irq, IRQF_VALID); set_irq_flags(irq, IRQF_VALID);
#else #else
/* same effect on other architectures */ /* same effect on other architectures */
set_irq_noprobe(irq); irq_set_noprobe(irq);
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment