PCI: tegra: Save MSI controller in pci_sys_data
authorYijing Wang <wangyijing@huawei.com>
Tue, 11 Nov 2014 22:35:05 +0000 (15:35 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 21 Nov 2014 16:33:45 +0000 (09:33 -0700)
commit7ec725b2d5757754bd8bc5fd13d5f8c53d44ce80
tree94c726fc99b1f437cd975bc622d90d7f07495bc6
parent49dcc01a9ff2df5fafe50777bec0591c0a588d27
PCI: tegra: 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 struct tegra_msi.chip, not ctrl]
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-tegra.c