PCI/MSI: Export pci_msi_set_enable(), pci_msix_clear_and_set_ctrl()
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 7 May 2015 14:52:21 +0000 (09:52 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 7 May 2015 14:52:21 +0000 (09:52 -0500)
commit6a25f5e35ab742380742ebf2033f6d53518219db
tree1dd947c5281467ad75450d7261c1d4fd2ec0f4b9
parent61b64abd399fa4b15ac649ad93b453d2a8569314
PCI/MSI: Export pci_msi_set_enable(), pci_msix_clear_and_set_ctrl()

Move pci_msi_set_enable() and pci_msix_clear_and_set_ctrl() to
drivers/pci/pci.h so they're available even when MSI isn't configured
into the kernel.

No functional change.

[bhelgaas: changelog, split into separate patch]
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
drivers/pci/msi.c
drivers/pci/pci.h