powerpc/pseries: Move MSI-related ops to pci_controller_ops
authorDaniel Axtens <dja@axtens.net>
Tue, 14 Apr 2015 04:27:57 +0000 (14:27 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jun 2015 01:47:10 +0000 (11:47 +1000)
commit1d14b8755f0a7d8110f0bdc5b74987f8cc96c18e
tree296b1a8a5d6e7fa4d1bd99c55e6c0accb5cd23d7
parent7e3d6c5a4be45769a9d439a4b62ad85cfe9e6754
powerpc/pseries: Move MSI-related ops to pci_controller_ops

Move the pseries platform to use the pci_controller_ops structure
rather than ppc_md for MSI related PCI controller operations

We need to iterate all PHBs because the MSI setup happens later than
find_and_init_phbs() - mpe.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/msi.c