]> git.ipfire.org Git - thirdparty/linux.git/commit
genirq: Document interaction between <linux/irq.h> and DT binding defines
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 4 Mar 2026 17:21:57 +0000 (18:21 +0100)
committerThomas Gleixner <tglx@kernel.org>
Tue, 10 Mar 2026 17:37:21 +0000 (18:37 +0100)
commit5a8103a6fb0ae9cf99c0271b17474468d6bae2b2
tree46e107f2998141aaac45a0540477898273f0adc5
parent1f318b96cc84d7c2ab792fcc0bfd42a7ca890681
genirq: Document interaction between <linux/irq.h> and DT binding defines

Document that the DT binding definitions in
<dt-bindings/interrupt-controller/irq.h> shadow the first six IRQ_TYPE_*
definitions in <linux/irq.h>.  The values must be the same anyway, so this
is harmless (as long as the latter is included first when both are
included), but it is good to document this explicitly.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/fbcc65dcee6c5437fab5ef18d21766bb4effb7cb.1772644406.git.geert+renesas@glider.be
include/linux/irq.h