diff options
author | Christoph Hellwig <hch@lst.de> | 2017-02-08 18:17:44 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-02-10 14:30:33 -0600 |
commit | 699c4cec238731a4c466f73fe6e9e45ab6f49a41 (patch) | |
tree | 25b64fc63740c9c60201f80ec48c1ba08a3e5a4e /arch/x86 | |
parent | 47feb41888bc82ba5c9268c344775adc483d6de7 (diff) | |
download | op-kernel-dev-699c4cec238731a4c466f73fe6e9e45ab6f49a41.zip op-kernel-dev-699c4cec238731a4c466f73fe6e9e45ab6f49a41.tar.gz |
PCI/MSI: Remove pci_msi_domain_{alloc,free}_irqs()
Just call the msi_* version directly instead of having trivial wrappers for
one or two callsites.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/apic/msi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/msi.c b/arch/x86/kernel/apic/msi.c index 015bbf3..c61aec7 100644 --- a/arch/x86/kernel/apic/msi.c +++ b/arch/x86/kernel/apic/msi.c @@ -82,7 +82,7 @@ int native_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) if (domain == NULL) return -ENOSYS; - return pci_msi_domain_alloc_irqs(domain, dev, nvec, type); + return msi_domain_alloc_irqs(domain, &dev->dev, nvec); } void native_teardown_msi_irq(unsigned int irq) |