[PATCH] sh: intc: fix build error in interrupts.h

Subsystems: superh, the rest

STALE5603d

4 messages, 3 authors, 2011-03-30 · open the first message on its own page

[PATCH] sh: intc: fix build error in interrupts.h

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Date: 2011-03-30 01:46:18

Fix the problem that name of some functions changed.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
 drivers/sh/intc/internals.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/sh/intc/internals.h b/drivers/sh/intc/internals.h
index df36a42..5b93485 100644
--- a/drivers/sh/intc/internals.h
+++ b/drivers/sh/intc/internals.h
@@ -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
 }
-- 
1.7.1

Re: [PATCH] sh: intc: fix build error in interrupts.h

From: Paul Mundt <hidden>
Date: 2011-03-30 01:47:49

On Wed, Mar 30, 2011 at 10:46:18AM +0900, Yoshihiro Shimoda wrote:
Fix the problem that name of some functions changed.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thomas already caught this, so it should be resolved soon.

Re: [PATCH] sh: intc: fix build error in interrupts.h

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Date: 2011-03-30 03:39:24

2011/03/30 10:47, Paul Mundt wrote:
On Wed, Mar 30, 2011 at 10:46:18AM +0900, Yoshihiro Shimoda wrote:
quoted
Fix the problem that name of some functions changed.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thomas already caught this, so it should be resolved soon.
Oh, I'm sorry. I should have checked this mailing list more carefully
before I send the patch.

Thanks,
Yoshihiro Shimoda

Re: [PATCH] sh: intc: fix build error in interrupts.h

From: Simon Horman <horms@verge.net.au>
Date: 2011-03-30 04:51:28

On Wed, Mar 30, 2011 at 10:47:49AM +0900, Paul Mundt wrote:
On Wed, Mar 30, 2011 at 10:46:18AM +0900, Yoshihiro Shimoda wrote:
quoted
Fix the problem that name of some functions changed.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thomas already caught this, so it should be resolved soon.
FWIW, thanks for pointing me towards this patch.
It fixed a build problem I was seeing when building 2.6.39-rc1
for mackerel.

Drive-by Tested-by: Simon Horman [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help