From: Daniel Axtens Date: Tue, 14 Apr 2015 04:27:58 +0000 (+1000) Subject: powerpc/fsl_msi: Move MSI-related ops to pci_controller_ops X-Git-Tag: omap-for-v4.2/fixes-rc1^2~139^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00e25397032f590d0a4d0ee89e236a4d1f8c0580;p=pandora-kernel.git powerpc/fsl_msi: Move MSI-related ops to pci_controller_ops Move the fsl_msi subsystem to use the pci_controller_ops structure rather than ppc_md for MSI related PCI controller operations. Previously, MSI ops were added to ppc_md at the subsys level. However, in fsl_pci.c, PCI controllers are created at the at arch level. So, unlike in e.g. PowerNV/pSeries/Cell, we can't simply populate a platform-level controller ops structure and have it copied into the controllers when they are created. Instead, walk every phb, and attempt to populate it with the MSI ops. Signed-off-by: Daniel Axtens Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed