From patchwork Tue Mar 6 11:18:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10261431 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 F188B602C8 for ; Tue, 6 Mar 2018 11:20:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DDFD128979 for ; Tue, 6 Mar 2018 11:20:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DCA4128F33; Tue, 6 Mar 2018 11:20:46 +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 5F13C28F60 for ; Tue, 6 Mar 2018 11:20:41 +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=S89SPmdBcWlDKL8ugvFk0ZtDiQQTLpGCdxQIS5lU/7w=; b=Kn8 12GfpuXlEvLrD1sw6r6pbCKOPc3ae27O+G58X3g3mduwWwI8V8hxCbfrAzH588YbLaw+0ezSd9yKC jv5z3aKl1dJ7dhuSCUdC+0iLe+BQfIj3QOdxaPhiU/0S2Fo+MugDBp/R7sHZV0eGeTyWRxyxI2pr/ acmINgOdW6OEOXKaBCY+RJkvBCpNNdCPCKrXRlDxcg9vke5fW0HSssGaLtwnQrY55MZeSc7DtfmdK 24BE29rH8DwKlgmg5Mkqj3o8T13o+gvsbV6ZSvbqt1LWUmOImnUkq+KyEaU5YTvCTxxRFWPQ9Nzl3 wWcvDROZZ4S56wzQvvm0GYxIBmGa5TA==; 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 1etAdf-0007Hb-Nq; Tue, 06 Mar 2018 11:20:11 +0000 Received: from conuserg-12.nifty.com ([210.131.2.79]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etAdL-0006oC-5q; Tue, 06 Mar 2018 11:19:56 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id w26BIwS8011970; Tue, 6 Mar 2018 20:18:59 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w26BIwS8011970 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1520335139; bh=JlYFifSYdT0wSHMcO+2LsjhXRbkFdVCEgRIWyhJM5Og=; h=From:To:Cc:Subject:Date:From; b=nGixLgIYeHwmPQ6q66zXwWKZwyy68WCrBEKvv6GApKnMxBxPtpeyqUxDSz4IoIw9b vT92zpSAZ0iSovkt0R1HtjvChojGxf1OhOOHkNTah2JEA1d3IMOnqYVTTERDllaOwP aE6ahBqMeBshBwaliKfKuSGCU5XYoMwKWbb7gT2bRMLa/0jLRrF/V4s5eKaJjM6ufj Dd4ZnJDAHxrvTVJTGlpSJIJaH5xbMZjPJ4GWaC5tNztA4S/RzHARbqO/Oe1XDJxT7N 6JSctpZW3LviiYyoJJrutSVTj2Q58VBDuMckGRPthXR/BGO005PCIQgzj+ScdbZ/un pKgsYc1qtVfYg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Kishon Vijay Abraham I Subject: [PATCH] phy: add 'depends on HAS_IOMEM' to fix unmet dependency Date: Tue, 6 Mar 2018 20:18:49 +0900 Message-Id: <1520335129-11101-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_031951_460802_2DE039C0 X-CRM114-Status: UNSURE ( 8.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Arnd Bergmann , linux-rockchip@lists.infradead.org, Harvey Hunt , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Masahiro Yamada , Vivek Gautam , John Crispin , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=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/phy/hisilicon/Kconfig | 1 + drivers/phy/ralink/Kconfig | 1 + drivers/phy/rockchip/Kconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/phy/hisilicon/Kconfig b/drivers/phy/hisilicon/Kconfig index 6164c4c..1131ba6 100644 --- a/drivers/phy/hisilicon/Kconfig +++ b/drivers/phy/hisilicon/Kconfig @@ -4,6 +4,7 @@ config PHY_HI6220_USB tristate "hi6220 USB PHY support" depends on (ARCH_HISI && ARM64) || COMPILE_TEST + depends on HAS_IOMEM select GENERIC_PHY select MFD_SYSCON help diff --git a/drivers/phy/ralink/Kconfig b/drivers/phy/ralink/Kconfig index b17635b..14fd219 100644 --- a/drivers/phy/ralink/Kconfig +++ b/drivers/phy/ralink/Kconfig @@ -4,6 +4,7 @@ config PHY_RALINK_USB tristate "Ralink USB PHY driver" depends on RALINK || COMPILE_TEST + depends on HAS_IOMEM select GENERIC_PHY select MFD_SYSCON help diff --git a/drivers/phy/rockchip/Kconfig b/drivers/phy/rockchip/Kconfig index f5325b2..0e15119 100644 --- a/drivers/phy/rockchip/Kconfig +++ b/drivers/phy/rockchip/Kconfig @@ -29,6 +29,7 @@ config PHY_ROCKCHIP_INNO_USB2 config PHY_ROCKCHIP_PCIE tristate "Rockchip PCIe PHY Driver" depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST + depends on HAS_IOMEM select GENERIC_PHY select MFD_SYSCON help