]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc07cf138a2f815ee3c4171fcc39afdd91d0838ee
tree737720e174cfbdd16bd7ec8850b9913142859e0b
parentcb72904fb6315c1c3bc5b07d00a220d48075ee36
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: 3f927cd9ef76 ("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