]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: irq: switch to of_fwnode_handle() 23434/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Mon, 18 May 2026 16:06:31 +0000 (18:06 +0200)
committerRobert Marko <robimarko@gmail.com>
Tue, 19 May 2026 08:52:23 +0000 (10:52 +0200)
Kernel 6.19 will get rid of of_node_to_fwnode(). Switch to its
successor of_fwnode_handle() that is already available in 6.18.
This will simplify a future kernel upgrade.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/23434
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/patches-6.18/314-irqchip-irq-realtek-rtl-add-VPE-support.patch

index 5d85f2ce2aba80a80e2f0fa6d9742bbdfe51915b..caa4e08ed3f0a02a9754fc7bec71537bac6c7716 100644 (file)
@@ -310,7 +310,7 @@ Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
 +              if (!domain)
 +                      goto domain_err;
 +
-+              output->fwnode = of_node_to_fwnode(node);
++              output->fwnode = of_fwnode_handle(node);
 +              output->output_index = p;
 +              output->domain = domain;
 +