From patchwork Thu Feb 2 14:29:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9551985 Return-Path: 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 DE5CA60405 for ; Thu, 2 Feb 2017 14:30:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF0AC284CA for ; Thu, 2 Feb 2017 14:30:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BDC4B284AD; Thu, 2 Feb 2017 14:30:20 +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=-1.9 required=2.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6B743284D2 for ; Thu, 2 Feb 2017 14:30:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cZIOo-0002yF-Ds; Thu, 02 Feb 2017 14:30:10 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cZIOd-0001dA-UV; Thu, 02 Feb 2017 14:30:02 +0000 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0Lr6Jj-1bv1l71Sfz-00eZBt; Thu, 02 Feb 2017 15:29:26 +0100 From: Arnd Bergmann To: Joerg Roedel , Matthias Brugger Subject: [PATCH] iommu: mtk: remove bogus 'select' statements Date: Thu, 2 Feb 2017 15:29:03 +0100 Message-Id: <20170202142921.3467470-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:6v7tPmxRHu2hNCx/36H/pKYcGEJdYgzhPRU8mPmQZU+9zLnPFb0 Ld5N4Nkoy42TW16kd0JlfQoQDkYmOhOOFHvGraqC40xviYayanpE15GhHj4Y+dabrv4S2P6 70OVnNyhLCzVII2xmQqh7Nuyn9a6WpzqGAxNZczzAHsd7BikalTbVWQc3ycwab6Dd4IQvtp kn66soB488WNsK4MSh22g== X-UI-Out-Filterresults: notjunk:1; V01:K0:1jru22ZmxRE=:jUZig9wAR5aViejI7JCD9G 6zOy2l2qHK2VCKkqsV/F3+9yk3OGSQCnhJrE0IHhfERYw7KDjZ5Amgtfyztyx/h20tJaaDqPJ xZ9NrjgEKuEi15VjwUxMXVEGKYVQky2uafNZ/e8J9kGeK3/JfbaM0yNrb4AeLb6BXbkjh+xWr zLB8gizU5qJoHO+yS+Kxu7Ifo5iKJX5+fo3j4eAYa4zEWSaiCAp8s8dYDCh0TwBn3z4qYfgap IPsqjiJx6yHlG6zfoV61CMWB1WqjGhEZGzFvtVFaNfORBJVyDyy19u/n36KpMlY1XzW70bSBb RjCuR5FIX2yBBbjp9DXVWeCqqcWZ6R5gWCFagOOfOhm0VFbMdmpzCnkyAG9zY8JtKWGAHpinb bv0xsS7mVzJdDyH/38n1+ah9xqxE7Oex2wDgFSd9GuSp82+pFhcJuzivqOH7rG/1OKTZMEkOa DKsE+VlPN/ixQza95xUG4fyTtnfnXXCO84pdCrWBF0Fqc95YrrRePn/g1BZFJlA420PLzmM3I dVqTZYPjBYoia21WoNHU8+ELRDAkHrNqiqyN75qHzS6gkuD63baY+u4+cgaslHSdlHIUTV1Fh G4VeNDa4HW4S0+pl/0M3iBdYLoxSNNQ/FPE9Q6KpiWL+V7tX4Gp131XtFTx6uTacJB42OQ0FZ tfva+8jCAPAJPpsrAj6CHyqCkxNHxegvByklb4z9GX+NYene19VZTfN5MFaW4W7jZBdY= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170202_063000_318246_A3ECFDC3 X-CRM114-Status: UNSURE ( 7.51 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Will Deacon , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linux-mediatek@lists.infradead.org, Honghui Zhang , Andy Fleming , Robin Murphy , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The mediatek IOMMU driver enables some drivers that it does not directly rely on, and that causes a warning for build testing: warning: (MTK_IOMMU_V1) selects COMMON_CLK_MT2701_VDECSYS which has unmet direct dependencies (COMMON_CLK && COMMON_CLK_MT2701) warning: (MTK_IOMMU_V1) selects COMMON_CLK_MT2701_IMGSYS which has unmet direct dependencies (COMMON_CLK && COMMON_CLK_MT2701) warning: (MTK_IOMMU_V1) selects COMMON_CLK_MT2701_MMSYS which has unmet direct dependencies (COMMON_CLK && COMMON_CLK_MT2701) This removes the select statements. Signed-off-by: Arnd Bergmann --- drivers/iommu/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index bb537d06d319..8b6fd8928819 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -352,9 +352,6 @@ config MTK_IOMMU_V1 select IOMMU_API select MEMORY select MTK_SMI - select COMMON_CLK_MT2701_MMSYS - select COMMON_CLK_MT2701_IMGSYS - select COMMON_CLK_MT2701_VDECSYS help Support for the M4U on certain Mediatek SoCs. M4U generation 1 HW is Multimedia Memory Managememt Unit. This option enables remapping of