powerpc/pasemi: Only the build the pasemi MSI code for PASEMI=y
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Apr 2015 01:52:06 +0000 (11:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 May 2015 09:55:25 +0000 (19:55 +1000)
commit5af7a6f3e2d015dcaaeffa48c6d47238415cbe66
tree0de0b00c76536652f3bae4ed86e8b3083e92cf3f
parentf1e7c202a98cb87cc650d99d014f87e6248ae530
powerpc/pasemi: Only the build the pasemi MSI code for PASEMI=y

The pasemi MSI code is currently always built when MPIC=y && PCI_MSI=y.
It should not have any effect on other platforms, because it immediately
checks the MPIC's compatible property for "pasemi,pwrficient-openpic".

However it's odd that it's still built even when PASEMI=n. It also
needn't be in sysdev, as it's only used by pasemi. So move it into
platforms/pasemi, whereby it will only be built for PASEMI=y.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pasemi/Makefile
arch/powerpc/platforms/pasemi/msi.c [new file with mode: 0644]
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/mpic.h
arch/powerpc/sysdev/mpic_pasemi_msi.c [deleted file]