diff options
| author | Jiri Slaby (SUSE) <[email protected]> | 2025-03-19 09:29:00 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2025-04-07 17:15:14 +0000 |
| commit | fdc348121f2465897792f946715a5da7887e5f97 (patch) | |
| tree | 6d32dbaa66d01f23db250793309c8b82178f2aa6 /drivers/pci/controller/dwc | |
| parent | Linux 6.15-rc1 (diff) | |
| download | kernel-fdc348121f2465897792f946715a5da7887e5f97.tar.gz kernel-fdc348121f2465897792f946715a5da7887e5f97.zip | |
irqdomain: pci: Switch to of_fwnode_handle()
of_node_to_fwnode() is irqdomain's reimplementation of the "officially"
defined of_fwnode_handle(). The former is in the process of being removed,
so use the latter instead.
Signed-off-by: Jiri Slaby (SUSE) <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/pci/controller/dwc')
| -rw-r--r-- | drivers/pci/controller/dwc/pcie-designware-host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pcie-designware-host.c b/drivers/pci/controller/dwc/pcie-designware-host.c index ecc33f6789e3..d1cd48efad43 100644 --- a/drivers/pci/controller/dwc/pcie-designware-host.c +++ b/drivers/pci/controller/dwc/pcie-designware-host.c @@ -227,7 +227,7 @@ static const struct irq_domain_ops dw_pcie_msi_domain_ops = { int dw_pcie_allocate_domains(struct dw_pcie_rp *pp) { struct dw_pcie *pci = to_dw_pcie_from_pp(pp); - struct fwnode_handle *fwnode = of_node_to_fwnode(pci->dev->of_node); + struct fwnode_handle *fwnode = of_fwnode_handle(pci->dev->of_node); pp->irq_domain = irq_domain_create_linear(fwnode, pp->num_vectors, &dw_pcie_msi_domain_ops, pp); |
