From patchwork Tue Mar 6 11:15:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10261423 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 DA11A6016D for ; Tue, 6 Mar 2018 11:17:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C93CD28F02 for ; Tue, 6 Mar 2018 11:17:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BDA1728F05; Tue, 6 Mar 2018 11:17:14 +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,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 48F3328F02 for ; Tue, 6 Mar 2018 11:17:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=FoB+wH1NlkAbxCToDrc1idVRwoeSqiQn10hKhzZoXo0=; b=GaD M8aFNpLelCxc4RFwQiTt4sPJyBeHYyp4n1E1oHCozxdarvlxFXzpHvHvTzu3jDH25/sQmGpPt0QNO FSeY1WZoL1URTHtSeIZMRpU+jHQ7QmMbslZe/hFeX1Up7+poVQk9vhf5C3QplbeaaaJaD6NQmpTO7 qO0mboXjoa2a7ARs6t1PkNdAnXZcTtms+D0Md2U4dXPMaNK47gMTWjCo0CVO7ETMzUxeV2VzldKol Z3tVbeDzNP9Z1/OImtzLjIBC5D/PHfh4mH2nrRq36hC/8ZeTMOuUQ9u+8FZF2V6NDXtb81QtDabGb RjZYQpAf5bD7QoJnOaAzcGvjXrcYXXw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1etAab-0005vQ-3P; Tue, 06 Mar 2018 11:17:01 +0000 Received: from conuserg-10.nifty.com ([210.131.2.77]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etAaX-0005tw-1E for linux-arm-kernel@lists.infradead.org; Tue, 06 Mar 2018 11:16:59 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id w26BG3JD006591; Tue, 6 Mar 2018 20:16:04 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com w26BG3JD006591 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1520334964; bh=nyIOow3C973PcnB4X1eAQkHE6HHReWdYkG+UDKoBXJA=; h=From:To:Cc:Subject:Date:From; b=aVfGHHpLq6oIOjw4YfcuyjETqDS78hulBt79jdZPbPSRjx8P87j/QTS8Bn+qrR7Xx QiQJD1Wg4U28IFvjxNuEJqaOQ9aMh5Jus2oxnHAcXGG804Qqie8pZdFxQGmyAt7ivV 2VCFVf5iAoOy2kLoqBQJGtd5P8o8rso7y86Mnl6PJauY5S8rkrBbVtbyR5rn43oU3x YpA2CNclYaopISSxAhSVMMniENRdw/U7ayfOi/BljZFvvPSfNG0e1AooFNYdBfwBKe QIzuS44s4ImiRQ0DKzkV4+pVYbJ9ldlpZlndK2uQJLvKZUl8g3hTYZ9+eEmQZZBp1N WtZBUnEgzsPYw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-gpio@vger.kernel.org, Linus Walleij Subject: [PATCH] pinctrl: stm32: add 'depends on HAS_IOMEM' to fix unmet dependency Date: Tue, 6 Mar 2018 20:15:56 +0900 Message-Id: <1520334956-9900-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180306_031657_444320_4F2A3220 X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Alexandre Torgue , Arnd Bergmann , Patrice CHOTARD , linux-kernel@vger.kernel.org, Masahiro Yamada , linux-arm-kernel@lists.infradead.org, Maxime Coquelin , Ludovic Barre MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP These configs select MFD_SYSCON, but do not depend on HAS_IOMEM. Compile testing on architecture without HAS_IOMEM causes "unmet direct dependencies" in Kconfig phase. Detected by "make ARCH=score allyesconfig". Signed-off-by: Masahiro Yamada --- Arnd Bergmann and I discussed how to fix unmet dependency of MFD_SYSCON. https://lkml.org/lkml/2018/2/27/284 We agreed to add 'depends on HAS_IOMEM' to drivers causing unmet dependency. drivers/pinctrl/stm32/Kconfig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/pinctrl/stm32/Kconfig b/drivers/pinctrl/stm32/Kconfig index 1c4e00b2..cd3936e 100644 --- a/drivers/pinctrl/stm32/Kconfig +++ b/drivers/pinctrl/stm32/Kconfig @@ -11,37 +11,37 @@ config PINCTRL_STM32 config PINCTRL_STM32F429 bool "STMicroelectronics STM32F429 pin control" if COMPILE_TEST && !MACH_STM32F429 - depends on OF + depends on OF && HAS_IOMEM default MACH_STM32F429 select PINCTRL_STM32 config PINCTRL_STM32F469 bool "STMicroelectronics STM32F469 pin control" if COMPILE_TEST && !MACH_STM32F469 - depends on OF + depends on OF && HAS_IOMEM default MACH_STM32F469 select PINCTRL_STM32 config PINCTRL_STM32F746 bool "STMicroelectronics STM32F746 pin control" if COMPILE_TEST && !MACH_STM32F746 - depends on OF + depends on OF && HAS_IOMEM default MACH_STM32F746 select PINCTRL_STM32 config PINCTRL_STM32F769 bool "STMicroelectronics STM32F769 pin control" if COMPILE_TEST && !MACH_STM32F769 - depends on OF + depends on OF && HAS_IOMEM default MACH_STM32F769 select PINCTRL_STM32 config PINCTRL_STM32H743 bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743 - depends on OF + depends on OF && HAS_IOMEM default MACH_STM32H743 select PINCTRL_STM32 config PINCTRL_STM32MP157 bool "STMicroelectronics STM32MP157 pin control" if COMPILE_TEST && !MACH_STM32MP157 - depends on OF + depends on OF && HAS_IOMEM default MACH_STM32MP157 select PINCTRL_STM32 endif