PCI/MSI: Move pci_alloc_irq_vectors() to api.c
authorAhmed S. Darwish <darwi@linutronix.de>
Fri, 11 Nov 2022 13:54:50 +0000 (14:54 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Nov 2022 14:15:20 +0000 (15:15 +0100)
commit5c0997dc33ac24b7dc0124c2fc1caa37ae39461a
treeff38bc584f671af2bb428692c80d2aab2dfbbbc8
parentbe7496c1ef47e1ba8c4b389ee23178fcf066cc4e
PCI/MSI: Move pci_alloc_irq_vectors() to api.c

To disentangle the maze in msi.c, all exported device-driver MSI APIs are
now to be grouped in one file, api.c.

Make pci_alloc_irq_vectors() a real function instead of wrapper and add
proper kernel doc to it.

Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20221111122014.870888193@linutronix.de
drivers/pci/msi/api.c
include/linux/pci.h