mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 13:14:02 +02:00
Merge branch 'pci/controller/aspeed'
- Switch to irq_domain_create_linear() so we can obsolete irq_domain_add_linear() (Jiri Slaby) * pci/controller/aspeed: PCI: aspeed: Switch to irq_domain_create_linear()
This commit is contained in:
commit
1ef0f8a7f0
|
|
@ -725,10 +725,10 @@ static int aspeed_pcie_init_irq_domain(struct aspeed_pcie *pcie)
|
|||
{
|
||||
int ret;
|
||||
|
||||
pcie->intx_domain = irq_domain_add_linear(pcie->dev->of_node,
|
||||
PCI_NUM_INTX,
|
||||
&aspeed_intx_domain_ops,
|
||||
pcie);
|
||||
pcie->intx_domain = irq_domain_create_linear(dev_fwnode(pcie->dev),
|
||||
PCI_NUM_INTX,
|
||||
&aspeed_intx_domain_ops,
|
||||
pcie);
|
||||
if (!pcie->intx_domain) {
|
||||
ret = dev_err_probe(pcie->dev, -ENOMEM,
|
||||
"failed to get INTx IRQ domain\n");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user