[PATCH v2 3/5] genirq: Remove unneeded forward declaration
Dawei Li
dawei.li at shingroup.cn
Mon Jan 22 00:57:14 PST 2024
Protoype of irq_flow_handler_t is independent of irq_data, so
remove unneeded forward declaration.
Signed-off-by: Dawei Li <dawei.li at shingroup.cn>
---
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 c30f454a9518..72dd1eb3a0e7 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
--
2.27.0
More information about the linux-arm-kernel
mailing list