# \[PATCH\] powerpc: Ultravisor: Fix the dependencies for CONFIG\_PPC\_UV

- From: Bharata B Rao \<hidden\>
- Date: 2020-01-09 09:21:01 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2020/01/5825334
- Thread: https://ratatoskr.run/linuxppc-dev/2020/01/5825334/t.md

```text
Let PPC_UV depend only on DEVICE_PRIVATE which in turn
will satisfy all the other required dependencies

Fixes: 013a53f2d25a ("powerpc: Ultravisor: Add PPC_UV config option")
Reported-by: kbuild test robot <redacted>
Signed-off-by: Bharata B Rao <redacted>
---
 arch/powerpc/Kconfig | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 1ec34e16ed65..e2a412113359 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -455,11 +455,7 @@ config PPC_TRANSACTIONAL_MEM
 config PPC_UV
 	bool "Ultravisor support"
 	depends on KVM_BOOK3S_HV_POSSIBLE
-	select ZONE_DEVICE
-	select DEV_PAGEMAP_OPS
-	select DEVICE_PRIVATE
-	select MEMORY_HOTPLUG
-	select MEMORY_HOTREMOVE
+	depends on DEVICE_PRIVATE
 	default n
 	help
 	  This option paravirtualizes the kernel to run in POWER platforms that
-- 
2.21.0

```
