Skip to contentSkip to conversation

sh: intc: fix build error in interrupts.h

PATCH In review Yoshihiro Shimoda 3 participants 4 messages Mar 30, 2011 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: intc: fix build error in interrupts.h

Fix the problem that name of some functions changed.

---
 drivers/sh/intc/internals.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/sh/intc/internals.h +2 -2
index df36a42..5b93485 100644
@@ -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);
 }
@@ -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
 }
 
Signature · 1 line
1.7.1