PCI: rcar: Save MSI controller in pci_sys_data
authorYijing Wang <wangyijing@huawei.com>
Tue, 11 Nov 2014 22:43:08 +0000 (15:43 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 21 Nov 2014 16:34:07 +0000 (09:34 -0700)
commit7840cba885a4570314feac1d68b5e128e1bdc94c
treedfd8df87ce3f22fe4aaf27dc7f83e006ed6b241b
parent0815f957e1a4a676ddf88657a6d8b9eca15640ad
PCI: rcar: 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 rcar_msi.chip, not ctrl]
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-rcar.c