Răsfoiți Sursa

powerpc/pseries: CONFIG_PSERIES_MSI should depend on PPC_PSERIES

Previously PSERIES_MSI depended on PPC_PSERIES via EEH. However in
commit 317f06d "powerpc/eeh: Move common part to kernel directory" we
made CONFIG_EEH selectable on POWERNV. That leaves us with PSERIES_MSI
being live even when PSERIES=n. Fix it by making PSERIES_MSI depend
directly on PPC_PSERIES.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Reviewed-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Michael Ellerman 12 ani în urmă
părinte
comite
1edb55a473
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      arch/powerpc/platforms/pseries/Kconfig

+ 1 - 1
arch/powerpc/platforms/pseries/Kconfig

@@ -34,7 +34,7 @@ config PPC_SPLPAR
 
 
 config PSERIES_MSI
 config PSERIES_MSI
        bool
        bool
-       depends on PCI_MSI && EEH
+       depends on PCI_MSI && PPC_PSERIES && EEH
        default y
        default y
 
 
 config PSERIES_ENERGY
 config PSERIES_ENERGY