Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Oliver O'Halloran and committed by
Michael Ellerman
14ebfec0 a6460b03

+1 -2
+1 -2
arch/powerpc/platforms/pseries/Kconfig
··· 140 140 Bus device driver for GX bus based adapters. 141 141 142 142 config PAPR_SCM 143 - depends on PPC_PSERIES && MEMORY_HOTPLUG 144 - select LIBNVDIMM 143 + depends on PPC_PSERIES && MEMORY_HOTPLUG && LIBNVDIMM 145 144 tristate "Support for the PAPR Storage Class Memory interface" 146 145 help 147 146 Enable access to hypervisor provided storage class memory.