[patch] genirq: clean up irq-flow-type naming, fix

Ingo Molnar mingo at elte.hu
Wed Oct 18 18:16:59 EST 2006


* Olaf Hering <olaf at aepfle.de> wrote:

> There is no prototype anymore, but still many users.
> 
> a460e745e8f9c75a0525ff94154a0629f9d3e05d is likely the culprit:
>  [PATCH] genirq: clean up irq-flow-type naming

oops, that was unintended. The patch below should fix this.

	Ingo

--------------->
Subject: genirq: clean up irq-flow-type naming, fix
From: Ingo Molnar <mingo at elte.hu>

re-add the set_irq_chip_and_handler() prototype, it's still widely used.

Signed-off-by: Ingo Molnar <mingo at elte.hu>
---
 include/linux/irq.h |    3 +++
 1 file changed, 3 insertions(+)

Index: linux/include/linux/irq.h
===================================================================
--- linux.orig/include/linux/irq.h
+++ linux/include/linux/irq.h
@@ -322,6 +322,9 @@ extern struct irq_chip no_irq_chip;
 extern struct irq_chip dummy_irq_chip;
 
 extern void
+set_irq_chip_and_handler(unsigned int irq, struct irq_chip *chip,
+			 irq_flow_handler_t handle);
+extern void
 set_irq_chip_and_handler_name(unsigned int irq, struct irq_chip *chip,
 			      irq_flow_handler_t handle, const char *name);
 



More information about the Linuxppc-dev mailing list