Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47da0411 authored by Vijayanand Jitta's avatar Vijayanand Jitta
Browse files

iommu: Kconfig: fix unmet direct dependencies warning for IOMMU_DEBUGFS



When IOMMU_DEBUG is enabled, IOMMU_DEBUGFS will be selected and
this will result in the below warning if DEBUG_FS isn't set as
IOMMU_DEBUGFS depends on DEBUG_FS.

WARNING: unmet direct dependencies detected for IOMMU_DEBUGFS
  Depends on [n]: IOMMU_SUPPORT [=y] && DEBUG_FS [=n]
    Selected by [y]:
      - IOMMU_DEBUG [=y] && IOMMU_SUPPORT [=y]

Fix this by adding 'depends on DEBUG_FS' in IOMMU_DEBUG.

Fixes: 3afbe556 ("iommu: iommu-debug: select IOMMU_DEBUGFS for iommu tests")
Change-Id: I46ae3c5505242b40f9fb9e2956e600a043d48cc2
Signed-off-by: default avatarVijayanand Jitta <vjitta@codeaurora.org>
parent 0d5fb0ad
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -495,6 +495,7 @@ config MTK_IOMMU_V1

menuconfig IOMMU_DEBUG
	bool "IOMMU Profiling and Debugging"
	depends on DEBUG_FS
	select IOMMU_DEBUGFS
	help
	  This option is used to enable profiling and debugging in