summaryrefslogtreecommitdiff
path: root/include/linux/irqhandler.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-11-11 21:58:34 +0100
committerThomas Gleixner <tglx@linutronix.de>2014-11-23 13:01:46 +0100
commit75ffc0075007ca649131a2c42863ce6995d9bf80 (patch)
treea983e4adb9a78bb02304f9d5e6499c9089ec400d /include/linux/irqhandler.h
parent2cb625478f8cea0f72b565007a35e1eb7882ac3a (diff)
genirq: Split out flow handler typedefs into seperate header file
Required to avoid circular include dependencies. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/irqhandler.h')
-rw-r--r--include/linux/irqhandler.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/irqhandler.h b/include/linux/irqhandler.h
new file mode 100644
index 000000000000..62d543004197
--- /dev/null
+++ b/include/linux/irqhandler.h
@@ -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