PCI/MSI: Move pci_msi_enabled() to api.c
authorAhmed S. Darwish <darwi@linutronix.de>
Fri, 11 Nov 2022 13:55:01 +0000 (14:55 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Nov 2022 14:15:21 +0000 (15:15 +0100)
commit897a0b6aa8c7ee0015e8d1f781e8e61069aafe16
treefaa2cfae3363768ea61e15098066247e071312c8
parentbe37b8428b7b7740bbbc29c17cfa2ee42b9e2d8b
PCI/MSI: Move pci_msi_enabled() 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.

Move pci_msi_enabled() and make its kernel-doc comprehensive.

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/20221111122015.271447896@linutronix.de
drivers/pci/msi/api.c
drivers/pci/msi/msi.c
drivers/pci/msi/msi.h