powerpc/mpic_u3msi: Move MSI-related ops to pci_controller_ops
authorDaniel Axtens <dja@axtens.net>
Tue, 14 Apr 2015 04:28:02 +0000 (14:28 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jun 2015 01:47:44 +0000 (11:47 +1000)
commit14f95acda2f3238f3470beea0ddbf78081b3268d
treed18c5e96bd8b7ff3b970c3b6f0e5ae3f28ea10ec
parent83922966973e19a48b6e59f9fa1259aa790a33c1
powerpc/mpic_u3msi: Move MSI-related ops to pci_controller_ops

Move the u3 MPIC msi subsystem to use the pci_controller_ops structure
rather than ppc_md for MSI related PCI controller operations.

As with fsl_msi, operations are plugged in at the subsys level, after
controller creation. Again, we iterate over all controllers and
populate them with the MSI ops.

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