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: 882003 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="aVfGHHpL"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zwZPW4YqLz9shN for ; Tue, 6 Mar 2018 22:32:15 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750907AbeCFLcO (ORCPT ); Tue, 6 Mar 2018 06:32:14 -0500 Received: from condef-06.nifty.com ([202.248.20.71]:25677 "EHLO condef-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750864AbeCFLcO (ORCPT ); Tue, 6 Mar 2018 06:32:14 -0500 X-Greylist: delayed 361 seconds by postgrey-1.27 at vger.kernel.org; Tue, 06 Mar 2018 06:32:13 EST Received: from conuserg-10.nifty.com ([10.126.8.73])by condef-06.nifty.com with ESMTP id w26BHPeU031937 for ; Tue, 6 Mar 2018 20:17:25 +0900 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 Cc: Arnd Bergmann , Masahiro Yamada , Ludovic Barre , Patrice CHOTARD , Rob Herring , Alexandre Torgue , linux-kernel@vger.kernel.org, Maxime Coquelin , linux-arm-kernel@lists.infradead.org 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 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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