All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iommu: mtk: add common-clk dependency
@ 2016-11-16 15:28 ` Arnd Bergmann
  0 siblings, 0 replies; 15+ messages in thread
From: Arnd Bergmann @ 2016-11-16 15:28 UTC (permalink / raw)
  To: Joerg Roedel, Matthias Brugger
  Cc: James Liao, Arnd Bergmann, Erin Lo, Stephen Boyd, linux-kernel,
	iommu, linux-mediatek, Shunli Wang, linux-arm-kernel,
	John Crispin

After the MT2701 clock driver was added, we get a harmless warning for
the iommu driver that selects it, when compile-testing without
COMMON_CLK.

warning: (MTK_IOMMU_V1) selects COMMON_CLK_MT2701_IMGSYS which has unmet direct dependencies (COMMON_CLK)

Adding a dependency on COMMON_CLK avoids the warning.

Fixes: e9862118272a ("clk: mediatek: Add MT2701 clock support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/iommu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 8ee54d71c7eb..bb537d06d319 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -346,7 +346,7 @@ config MTK_IOMMU
 
 config MTK_IOMMU_V1
 	bool "MTK IOMMU Version 1 (M4U gen1) Support"
-	depends on ARM
+	depends on ARM && COMMON_CLK
 	depends on ARCH_MEDIATEK || COMPILE_TEST
 	select ARM_DMA_USE_IOMMU
 	select IOMMU_API
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-11-18  2:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-16 15:28 [PATCH] iommu: mtk: add common-clk dependency Arnd Bergmann
2016-11-16 15:28 ` Arnd Bergmann
2016-11-16 15:28 ` Arnd Bergmann
     [not found] ` <20161116152837.3508723-1-arnd-r2nGTMty4D4@public.gmane.org>
2016-11-16 19:38   ` Stephen Boyd
2016-11-16 19:38     ` Stephen Boyd
2016-11-16 19:38     ` Stephen Boyd
2016-11-17  1:25     ` Honghui Zhang
2016-11-17  1:25       ` Honghui Zhang
2016-11-17  1:25       ` Honghui Zhang
2016-11-17 23:35       ` Stephen Boyd
2016-11-17 23:35         ` Stephen Boyd
2016-11-17 23:35         ` Stephen Boyd
2016-11-18  2:32         ` Honghui Zhang
2016-11-18  2:32           ` Honghui Zhang
2016-11-18  2:32           ` Honghui Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.