summaryrefslogtreecommitdiff
path: root/drivers/xen
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2023-04-06 10:04:15 +0200
committerTom Rini <[email protected]>2023-04-25 15:31:28 -0400
commit44cd761ad665f38f87f064ed0df5c013ec5f88cb (patch)
treeb61d298179daa5406a28522b5f81621c9a2199b7 /drivers/xen
parentaf2fde49fe53810224c67d8d1cbc8080466da907 (diff)
xen: Fix Kconfig dependencies
XEN config can be enabled by other platforms (even it doesn't need to make sense) that's why fix dependencies. XEN (xenbus.c) requires sscanf (also pvblock needs it). And PVBLOCK is inside drivers/xen folder which requires XEN to be enabled. Signed-off-by: Michal Simek <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig
index 0ee74d036c7..6cb9149fa77 100644
--- a/drivers/xen/Kconfig
+++ b/drivers/xen/Kconfig
@@ -1,6 +1,6 @@
config PVBLOCK
bool "Xen para-virtualized block device"
- depends on DM
+ depends on DM && XEN
select BLK
help
This driver implements the front-end of the Xen virtual