OSDN Git Service

powerpc/papr_scm: Use depend instead of select
authorOliver O'Halloran <oohall@gmail.com>
Thu, 6 Dec 2018 15:17:08 +0000 (02:17 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 7 Dec 2018 12:32:01 +0000 (23:32 +1100)
commit14ebfec0712f66a4ef037fb7ac0df6a600584356
tree737720e174cfbdd16bd7ec8850b9913142859e0b
parenta6460b03f945ee216dbf42a0d9ee78d52fd470c2
powerpc/papr_scm: Use depend instead of select

Making PAPR_SCM select LIBNVDIMM results in circular dependencies in
Kconfig when another symbol depends on it. Fix this by replacing the
select with a depends.

Fixes: b5beae5e224f ("powerpc/pseries: Add driver for PAPR SCM regions")
Reported-by: Alastair D'Silva <alastair@d-silva.org>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/Kconfig