Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75ffc007 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

genirq: Split out flow handler typedefs into seperate header file



Required to avoid circular include dependencies.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 2cb62547
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
#include <linux/spinlock.h>
#include <linux/cpumask.h>
#include <linux/gfp.h>
#include <linux/irqhandler.h>
#include <linux/irqreturn.h>
#include <linux/irqnr.h>
#include <linux/errno.h>
@@ -27,12 +28,7 @@

struct seq_file;
struct module;
struct irq_desc;
struct irq_data;
struct msi_msg;
typedef	void (*irq_flow_handler_t)(unsigned int irq,
					    struct irq_desc *desc);
typedef	void (*irq_preflow_handler_t)(struct irq_data *data);

/*
 * IRQ line status.
+14 −0
Original line number Diff line number Diff line
#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