]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
irq-ath79-intc: switch from add to create
authorRosen Penev <rosenp@gmail.com>
Sat, 18 Apr 2026 01:56:31 +0000 (18:56 -0700)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 16 Jun 2026 09:50:31 +0000 (11:50 +0200)
Upstream Linux wants to remove the add APIs.

Get ahead of this and make the switch as was done upstream in
affdc0d1bdfa544fed26ae07c4e136af86465507

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22981
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/ath79/files/drivers/irqchip/irq-ath79-intc.c

index 17df8fd07c40561fd7becfc8a8b2d3688910fdd7..a9d633e9e52b8125afbba67fef2f6befdfc36a4e 100644 (file)
@@ -143,7 +143,7 @@ static int __init ath79_intc_of_init(
                goto err;
        }
 
-       domain = irq_domain_add_linear(node, cnt, &ath79_irq_domain_ops, intc);
+       domain = irq_domain_create_linear(of_fwnode_handle(node), cnt, &ath79_irq_domain_ops, intc);
        irq_set_chained_handler_and_data(intc->irq, ath79_intc_irq_handler, domain);
 
        return 0;