mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
irqchip/econet-en751221: Switch to irq_domain_create_linear()
irq_domain_add_linear() is about to be removed. Switch to irq_domain_create_linear(). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Caleb James DeLisle <cjd@cjdns.fr> Link: https://lore.kernel.org/all/877c2top39.ffs@tglx
This commit is contained in:
parent
99ad153fbd
commit
85cf5c63d3
|
|
@ -286,7 +286,8 @@ static int __init econet_intc_of_init(struct device_node *node, struct device_no
|
|||
|
||||
econet_mask_all();
|
||||
|
||||
domain = irq_domain_add_linear(node, IRQ_COUNT, &econet_domain_ops, NULL);
|
||||
domain = irq_domain_create_linear(of_node_to_fwnode(node), IRQ_COUNT,
|
||||
&econet_domain_ops, NULL);
|
||||
if (!domain) {
|
||||
pr_err("%pOF: Failed to add irqdomain\n", node);
|
||||
ret = -ENOMEM;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user