Message ID | 20161116152837.3508723-1-arnd@arndb.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ECE6D60476 for <patchwork-linux-mediatek@patchwork.kernel.org>; Wed, 16 Nov 2016 15:30:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE71A28F3F for <patchwork-linux-mediatek@patchwork.kernel.org>; Wed, 16 Nov 2016 15:30:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2F5028F43; Wed, 16 Nov 2016 15:30:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C7CC428F3F for <patchwork-linux-mediatek@patchwork.kernel.org>; Wed, 16 Nov 2016 15:30:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c72An-0005rB-Il; Wed, 16 Nov 2016 15:30:53 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c729G-0003mD-5J; Wed, 16 Nov 2016 15:29:25 +0000 Received: from wuerfel.lan ([78.43.21.235]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.129]) with ESMTPA (Nemesis) id 0LzFLh-1ctiqA0ZE1-014WB8; Wed, 16 Nov 2016 16:28:43 +0100 From: Arnd Bergmann <arnd@arndb.de> To: Joerg Roedel <joro@8bytes.org>, Matthias Brugger <matthias.bgg@gmail.com> 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= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161116_072918_881156_C0D2CAB9 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-mediatek.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/> List-Post: <mailto:linux-mediatek@lists.infradead.org> List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe> Cc: James Liao <jamesjj.liao@mediatek.com>, Arnd Bergmann <arnd@arndb.de>, Erin Lo <erin.lo@mediatek.com>, Stephen Boyd <sboyd@codeaurora.org>, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linux-mediatek@lists.infradead.org, Shunli Wang <shunli.wang@mediatek.com>, linux-arm-kernel@lists.infradead.org, John Crispin <blogic@openwrt.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org> Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
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
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(-)