]> 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)
commit3b3b960960625dd034b098fe06c2ce6b665a4c61
tree737720e174cfbdd16bd7ec8850b9913142859e0b
parentf17a2af27d08b0416ba58961d04da85dc1ca9391
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: 20fb97fe6b98 ("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