PCI: designware: Save MSI controller in pci_sys_data
authorYijing Wang <wangyijing@huawei.com>
Tue, 11 Nov 2014 22:38:07 +0000 (15:38 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 21 Nov 2014 16:33:58 +0000 (09:33 -0700)
commit0815f957e1a4a676ddf88657a6d8b9eca15640ad
treef352cd36be3cfa70df22d21cce6273ab5d4417d9
parent7ec725b2d5757754bd8bc5fd13d5f8c53d44ce80
PCI: designware: 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 dw_pcie_msi_chip, not dw_pcie_msi_controller]
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-designware.c