summaryrefslogtreecommitdiff
path: root/drivers/iommu/iommufd/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iommu/iommufd/Kconfig')
-rw-r--r--drivers/iommu/iommufd/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/iommu/iommufd/Kconfig b/drivers/iommu/iommufd/Kconfig
index 76656fe0470d..0a07f9449fd9 100644
--- a/drivers/iommu/iommufd/Kconfig
+++ b/drivers/iommu/iommufd/Kconfig
@@ -1,4 +1,8 @@
# SPDX-License-Identifier: GPL-2.0-only
+config IOMMUFD_DRIVER_CORE
+ tristate
+ default (IOMMUFD_DRIVER || IOMMUFD) if IOMMUFD!=n
+
config IOMMUFD
tristate "IOMMU Userspace API"
select INTERVAL_TREE