[tip: irq/core] genirq: Remove unneeded forward declaration

From: tip-bot2 for Dawei Li
Date: Wed Jan 24 2024 - 13:35:34 EST


The following commit has been merged into the irq/core branch of tip:

Commit-ID: 9676635685fe348003a29948d9726e5d9e4b4a6e
Gitweb: https://git.kernel.org/tip/9676635685fe348003a29948d9726e5d9e4b4a6e
Author: Dawei Li <dawei.li@xxxxxxxxxxxx>
AuthorDate: Mon, 22 Jan 2024 16:57:14 +08:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Wed, 24 Jan 2024 16:02:48 +01:00

genirq: Remove unneeded forward declaration

The protoype of irq_flow_handler_t is independent of irq_data, so remove
unneeded forward declaration.

Signed-off-by: Dawei Li <dawei.li@xxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20240122085716.2999875-4-dawei.li@xxxxxxxxxxxx

---
include/linux/irqhandler.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/irqhandler.h b/include/linux/irqhandler.h
index c30f454..72dd1eb 100644
--- a/include/linux/irqhandler.h
+++ b/include/linux/irqhandler.h
@@ -8,7 +8,7 @@
*/

struct irq_desc;
-struct irq_data;
+
typedef void (*irq_flow_handler_t)(struct irq_desc *desc);

#endif