genirq: Split out flow handler typedefs into seperate header file

Required to avoid circular include dependencies.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner
2014-11-11 21:58:34 +01:00
parent 2cb625478f
commit 75ffc00750
2 changed files with 15 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
#ifndef _LINUX_IRQHANDLER_H
#define _LINUX_IRQHANDLER_H
/*
* Interrupt flow handler typedefs are defined here to avoid circular
* include dependencies.
*/
struct irq_desc;
struct irq_data;
typedef void (*irq_flow_handler_t)(unsigned int irq, struct irq_desc *desc);
typedef void (*irq_preflow_handler_t)(struct irq_data *data);
#endif