Skip to content

Commit 14ebfec

Browse files
oohalmpe
authored andcommitted
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: b5beae5 ("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>
1 parent a6460b0 commit 14ebfec

File tree

1 file changed

+1
-2
lines changed
  • arch/powerpc/platforms/pseries

1 file changed

+1
-2
lines changed

arch/powerpc/platforms/pseries/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ config IBMEBUS
140140
Bus device driver for GX bus based adapters.
141141

142142
config PAPR_SCM
143-
depends on PPC_PSERIES && MEMORY_HOTPLUG
144-
select LIBNVDIMM
143+
depends on PPC_PSERIES && MEMORY_HOTPLUG && LIBNVDIMM
145144
tristate "Support for the PAPR Storage Class Memory interface"
146145
help
147146
Enable access to hypervisor provided storage class memory.

0 commit comments

Comments
 (0)