]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit019ccce32a792becebfc055908a9149dcd9e86f0
tree1dd947c5281467ad75450d7261c1d4fd2ec0f4b9
parent8032b71c045fd31a9416efa3c6a136cf6722516c
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