From patchwork Wed Oct 11 14:00:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9999731 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 E7C826037F for ; Wed, 11 Oct 2017 14:01:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9EE528A51 for ; Wed, 11 Oct 2017 14:01:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE77628A53; Wed, 11 Oct 2017 14:01:23 +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=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7D46428A51 for ; Wed, 11 Oct 2017 14:01:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757510AbdJKOBL (ORCPT ); Wed, 11 Oct 2017 10:01:11 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:49357 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757487AbdJKOBJ (ORCPT ); Wed, 11 Oct 2017 10:01:09 -0400 Received: from wuerfel.lan ([95.208.190.237]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0M1TXJ-1d9mGh0hCr-00tTlL; Wed, 11 Oct 2017 16:00:58 +0200 From: Arnd Bergmann To: Vinod Koul Cc: Arnd Bergmann , Dan Williams , "M'boumba Cedric Madianga" , Ludovic BARRE , Pierre-Yves MORDRET , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dmaengine: stm32_mdma: add CONFIG_OF dependency Date: Wed, 11 Oct 2017 16:00:04 +0200 Message-Id: <20171011140056.3689753-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:dgZwNaZH4l8EzZisqnH8tfJR0ZjCtPRbY1WvTiU0h//UR4H79tC M5/wnljYNhi2vb2fs02HiFsD5tVTQY0Y8BtZiXb5vwqfmktX4lqJJlzWVCq/pXQzshNhjIs nk2j26qhVUrpiwMkAkawIMpLnIueE3Wo8Ox8o02KtIEqh9H3S39YJJk9U0ZjvlzZoVMyhzv wYpJW7/ga4rWZlI5dksHg== X-UI-Out-Filterresults: notjunk:1; V01:K0:l9zlCvg3qRs=:GdfF4ajd62t3NOGf3KEdqE PDupLrIOUqev9yif3VHby2tlgpz9s1UCqy6S8RCHJwpqQaZY1DwblLTUc1ygzYV/WPSg7h7BJ g45Zgb8tk+t/yplZ4SMjUMqUftCGI1C11v8nhO608cmAQKxffUkFihICbJ+zP/ZMuu04O/dFT StxwEfIDtf3wGmsLGZQPdmZ1DtTkdSs8a0BhBzH6RGxJ8mglqPrdLwfTnzxflomXFAkgmg2KO 0TvoH/zlkVW2kD2zimdr+fF3ELvuYcbjjQHxS046bCuU+ptYYxYA9QpKjzwpsvwlJ+AFppB3I 7Of1/kj6aUEPLSorvQSW8502KTvxSZrY6Zefs3EPYBSLFmHcHchKdu5gJq37EaRcShhziM+mq W9qPuzfosWyqzevetYe6FNAf76jfZ4tj6j0euxRcoRWgMy+VZsdIlbGSg8qNwuggKEGncW6KA k+p0LnXRPP7Cys5q+gZ1Xa1BUzt9TPBGEqKh29ZSoHEmjxa3aG73BHMlw1j+KrdTDDlNOZdCw HM1JfmkyqVpw8jEKpO1MxfaneU2/wLz5VHV2Ffw/yI4sR5xJIIRXNbSOr3TQb/WXjeK0Pz59g vzh9NfuVY7T6gY9opkRepoQ0uJskEfCktZeSQ+zdtRMRyPpsrZGsibVuH4VE6IiLTTE44VDU5 LboRtEuvqByQ1dZ5hsAK4i+vdepoR52+Hl9JLuVNCHclIqQL2lCctWIhI71DSBTMN4tFMpN16 FhobcD4KjtCgWOLZirc02talhtK3Iez1BLB+hg== Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Without CONFIG_OF we get a build warning: warning: (STM32_MDMA) selects DMA_OF which has unmet direct dependencies (DMADEVICES && OF) This adds a dependency on CONFIG_OF. Since this means we no longer need to select 'DMA_OF', I'm dropping that line as well. Fixes: a4ffb13c8946 ("dmaengine: Add STM32 MDMA driver") Signed-off-by: Arnd Bergmann --- drivers/dma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 73446622ccc9..303940b32f47 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -495,8 +495,8 @@ config STM32_DMAMUX config STM32_MDMA bool "STMicroelectronics STM32 master dma support" depends on ARCH_STM32 || COMPILE_TEST + depends on OF select DMA_ENGINE - select DMA_OF select DMA_VIRTUAL_CHANNELS help Enable support for the on-chip MDMA controller on STMicroelectronics