mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-20 05:43:09 +00:00
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:
parent
2cb625478f
commit
75ffc00750
2 changed files with 15 additions and 5 deletions
14
include/linux/irqhandler.h
Normal file
14
include/linux/irqhandler.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue