Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938656AbcKPPay (ORCPT ); Wed, 16 Nov 2016 10:30:54 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:57779 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934130AbcKPP32 (ORCPT ); Wed, 16 Nov 2016 10:29:28 -0500 From: Arnd Bergmann To: Joerg Roedel , Matthias Brugger Cc: Shunli Wang , James Liao , Erin Lo , John Crispin , Stephen Boyd , Arnd Bergmann , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] iommu: mtk: add common-clk dependency Date: Wed, 16 Nov 2016 16:28:13 +0100 Message-Id: <20161116152837.3508723-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:gm6zCCT05Czrpr9ASyBkQbgnuZJ7jUF6w4pa5OH9MKvwJANioAs wyuOhDHPRX5GReEF2zQsTnSUjFcrJBrXNb9ilZ5clWDVFSrKcIGEPH728y42QHD9q8tRnJ5 fGK4KLWXbVDDtWnOOXvZs5pO6WZCWfoJ6ESJgneD2Sb7nZEqNtMz+KsDy3IWB5mKmXNaUbV O+QFopLW7eknHCSF3Pbvg== X-UI-Out-Filterresults: notjunk:1;V01:K0:eazGk6oi1Lg=:DNVrOzk2d9/81YICVVMoOz VXlz/4fmTsnUK7w4arWc2QyNSNWqjC92ZqA7GWlm6UfOwbWpobGtpJlZavcTpi16Qq/JchGL0 xlhhy14QdpIfhGqr2q2F0HHJuVGlLT2ydGNkqknpRAwkvHKiGgepXOG0SdL9M1DfgduXlGdkE AyFd0ooUwGpt8ReSdQGCNkzYLg6wbpsry5NKQFsy/ip5jkpESgF+RwqiYZfNnTWJXlEwNhOaU cTOFvworrdhNU7bSKINMENlYTYm9iNU2YnZozLlxSRqPb4o/n8SaCoEqDVYIGkHglIS4X/jk+ bbTmtiuWI3iN4Hd5xq2zljHbYVGf5rsHiYBCikFBhDLYGHZGXLS1baKNQIqrUyr8v08cVJCb4 mMU51rs/BLy4fGq2iXhrVmgE6Ab02OP/IttAf97j+1svYrOgmM33MRxDrWBLgMm1LvLTgDguC 76nPpjKeuKTLKnJnwvxxsQz9MNN/Eq+ng9DYZVyC1deMLiRlfp63GdTQNcX0twJB1Kf7tJF2Y xRBtCM021buLsXN6z5ycrC+hiciOlSfASilvCgFsSFAfDa2q1Pb0PSm2UNsbz9ud8viK1iE1C G0+0/mGMVgP+hYk8uAIc9ZcZb9yGvSWPI53lcMTt0YdLhtc3DKl1Zv2Xd4zCemCZWeOUZBlxw QWCgNwVeJyXBo7RC5+7+EqNk0ynTABxGj3Q53a/LuWiRPNxzfAwwO6Tx7iOVcSi2FxPM= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 910 Lines: 29 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 --- 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