aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pcie-brcmstb.c
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-06-11 23:38:21 +0000
committersaturneric <[email protected]>2025-06-11 23:38:21 +0000
commit0e99f621a88db810f7f95ccb917cf00924cb6e39 (patch)
tree21f3653194dcc5e81bfb0205155a152f727f4cf3 /drivers/pci/controller/pcie-brcmstb.c
parentMerge tag 'v6.15' (diff)
parentLinux 6.16-rc1 (diff)
downloadkernel-0e99f621a88db810f7f95ccb917cf00924cb6e39.tar.gz
kernel-0e99f621a88db810f7f95ccb917cf00924cb6e39.zip
Merge tag 'v6.16-rc1'
Linux 6.16-rc1
Diffstat (limited to 'drivers/pci/controller/pcie-brcmstb.c')
-rw-r--r--drivers/pci/controller/pcie-brcmstb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c
index 169a4d82519a..cbb2b7bd2023 100644
--- a/drivers/pci/controller/pcie-brcmstb.c
+++ b/drivers/pci/controller/pcie-brcmstb.c
@@ -774,10 +774,10 @@ static const struct irq_domain_ops msi_domain_ops = {
static int brcm_allocate_domains(struct brcm_msi *msi)
{
- struct fwnode_handle *fwnode = of_node_to_fwnode(msi->np);
+ struct fwnode_handle *fwnode = of_fwnode_handle(msi->np);
struct device *dev = msi->dev;
- msi->inner_domain = irq_domain_add_linear(NULL, msi->nr, &msi_domain_ops, msi);
+ msi->inner_domain = irq_domain_create_linear(NULL, msi->nr, &msi_domain_ops, msi);
if (!msi->inner_domain) {
dev_err(dev, "failed to create IRQ domain\n");
return -ENOMEM;