summaryrefslogtreecommitdiffstats
path: root/drivers/pci/msi.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2017-06-22 12:42:50 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-06-22 18:29:17 +0200
commit96f0d93a487e13233c95397aa3ecaf9cc8ff04bf (patch)
treececd2e118242ed842e730a930262deaa8194c793 /drivers/pci/msi.c
parentgenirq/irqdomain: Add irq_domain_update_bus_token helper (diff)
downloadlinux-96f0d93a487e13233c95397aa3ecaf9cc8ff04bf.tar.xz
linux-96f0d93a487e13233c95397aa3ecaf9cc8ff04bf.zip
irqchip/MSI: Use irq_domain_update_bus_token instead of an open coded access
Now that we have irq_domain_update_bus_token(), switch everyone over to it. The debugfs code thanks you for your continued support. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/pci/msi.c')
-rw-r--r--drivers/pci/msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index ba44fdfda66b..fbad5dca3219 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -1463,7 +1463,7 @@ struct irq_domain *pci_msi_create_irq_domain(struct fwnode_handle *fwnode,
if (!domain)
return NULL;
- domain->bus_token = DOMAIN_BUS_PCI_MSI;
+ irq_domain_update_bus_token(domain, DOMAIN_BUS_PCI_MSI);
return domain;
}
EXPORT_SYMBOL_GPL(pci_msi_create_irq_domain);