aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/irqhandler.h
diff options
context:
space:
mode:
authorDawei Li <dawei.li@shingroup.cn>2024-01-22 16:57:14 +0800
committerThomas Gleixner <tglx@linutronix.de>2024-01-24 16:02:48 +0100
commit9676635685fe348003a29948d9726e5d9e4b4a6e (patch)
tree46a74bebc09b26208bc4a23d2edf198dfe59f1d6 /include/linux/irqhandler.h
parentirqchip/gic(v3): Replace gic_irq() with irqd_to_hwirq() (diff)
downloadwireguard-linux-9676635685fe348003a29948d9726e5d9e4b4a6e.tar.xz
wireguard-linux-9676635685fe348003a29948d9726e5d9e4b4a6e.zip
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@shingroup.cn> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20240122085716.2999875-4-dawei.li@shingroup.cn
Diffstat (limited to 'include/linux/irqhandler.h')
-rw-r--r--include/linux/irqhandler.h2
1 files changed, 1 insertions, 1 deletions
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