PCI: xilinx: Save MSI controller in pci_sys_data
authorYijing Wang <wangyijing@huawei.com>
Tue, 11 Nov 2014 22:45:31 +0000 (15:45 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 21 Nov 2014 16:34:23 +0000 (09:34 -0700)
commit8dd26dc8fecab05aa92cd7f109f691c1283c5a13
tree973359f6203f47b4bb19f533d228bcea9e935b50
parent26914233b1cc290f7b5c0189f7d121ad345df48b
PCI: xilinx: Save MSI controller in pci_sys_data

Save MSI controller in pci_sys_data instead of assigning MSI controller
pointer to every PCI bus in .add_bus().

[bhelgaas: use xilinx_pcie_msi_chip, not xilinx_pcie_msi_controller]
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-xilinx.c