]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/MSI: Add weak pcibios_msi_controller()
authorYijing Wang <wangyijing@huawei.com>
Tue, 11 Nov 2014 22:22:45 +0000 (15:22 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Nov 2014 14:56:15 +0000 (07:56 -0700)
commit20056673e21080c58ddd25eebe21e7ca2e84022c
treefdb14cdf9ff08208e1d0af9cd2229cb631f5894c
parent2a3c45cdbbb78bb2afd09ddadd02c18e5781c6c7
PCI/MSI: Add weak pcibios_msi_controller()

Add pcibios_msi_controller() to get the msi_controller associated with a
PCI device.  This is to allow arches to store the msi_controller in the
arch-specific PCI sysdata.

[bhelgaas: changelog, take pci_dev instead of pci_bus]
Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi.c