From patchwork Thu Mar 3 08:03:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 8489211 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7C8209F38C for ; Thu, 3 Mar 2016 08:10:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9F3C320103 for ; Thu, 3 Mar 2016 08:10:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A123B20268 for ; Thu, 3 Mar 2016 08:10:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757054AbcCCIKD (ORCPT ); Thu, 3 Mar 2016 03:10:03 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:57994 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932460AbcCCIFf (ORCPT ); Thu, 3 Mar 2016 03:05:35 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O3G005I1EH7L090@mailout2.w1.samsung.com>; Thu, 03 Mar 2016 08:05:32 +0000 (GMT) X-AuditID: cbfec7f4-f79026d00000418a-d2-56d7f04b3238 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 80.25.16778.B40F7D65; Thu, 3 Mar 2016 08:05:31 +0000 (GMT) Received: from localhost.localdomain ([10.113.63.52]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O3G00LZ4EEDHR70@eusync2.samsung.com>; Thu, 03 Mar 2016 08:05:31 +0000 (GMT) From: Krzysztof Kozlowski To: Daniel Lezcano , Thomas Gleixner , Dan Williams , Vinod Koul , Jason Cooper , Marc Zyngier , Mauro Carvalho Chehab , Lee Jones , Giuseppe Cavallaro , Kishon Vijay Abraham I , Linus Walleij , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Alessandro Zummo , Alexandre Belloni , Andy Gross , David Brown , Laurent Pinchart , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, netdev@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, rtc-linux@googlegroups.com, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devel@driverdev.osuosl.org, linux-usb@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RFC 10/15] net: ethernet: Add missing MFD_SYSCON dependency on HAS_IOMEM Date: Thu, 03 Mar 2016 17:03:36 +0900 Message-id: <1456992221-26712-11-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 2.5.0 In-reply-to: <1456992221-26712-1-git-send-email-k.kozlowski@samsung.com> References: <1456992221-26712-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWRWUwTYRSF+TvDdGhsMqksIwZNagyRCNrAw3VBjXEZoglVCcYtWmEsIFta QFATq4aEfVMQldVWQJaAbSGADVVkkUUoAYomgAIV2QQM+iACtYX4du453z334ZKYoBN3JoPD o1hZuCRUSPDwrrX2AfdTi0P+e01GF1D1DXIhwajkgLnDE55kGxAULLnAbFEqgizTAga67mUu VGSv2kLmq0cYPFRWE3Bf1Y/D7JQIDN9SCEjMVHHhy+9WBI9XSjmgnjBaWP1HLmgKVxD0N+YR kFJTawtLqS0IcnubODBTMoHgRUk8BqvDawRUTMZCW5EjmGdrEegTExB0vYkCjTobg+k0PX5E yFQWVCJmtOk9zpjUfYhpeDbCZXSZHQTzPOGpLaMpc2OUumkOoy5PJBjF216cGTbqCGa+p4fL 6PMruYxGdY/RpluW0rTlSGx/kXcwkA0NjmFlew5d4wUp6kIiHzjFjjek4go0J0hCdiRNedFz g2vcDe1IG0ariSTEIwXUS0Q3d7dhG4MZ0ebkD4SVIihPWlOqWqfsqR929GhDBscaYJSI/jO/ sl61mfKj4wvTMKvGqZ10vu4vsmo+xdCzWYkWhrSc20YXGaRW285iG/Nb1msE1El6cqmKyED8 ImRTjhzY6IBI+XVpmMhDLgmTR4dLPQIiwtRo48O/6pGybX8zokgk3MT/pBjyF9hKYuRxYc2I JjGhPb/dZLH4gZK426ws4qosOpSVN6OtJC504uc3LvgJKKkkir3JspGs7H/KIe2cFSgke3sD Hn5i4UrguPvUeQfZabH7bk3rMl80scs5xjlInPdVqZDWnbH5uXSpeObWvk51Ye9YmY9rsO+7 z9pjWzKm0sdWx5KPenU6jUi8tD7ePJ1/447uw5ddxXfPuhUeKD93B8upT5j8Pl4zkJvz2lxz oSO1qli8cKNS7Ctb9K43HBfi8iCJyA2TySX/AKUV5gDdAgAA Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The MFD_SYSCON depends on HAS_IOMEM so when selecting it avoid unmet direct dependencies. Signed-off-by: Krzysztof Kozlowski --- drivers/net/ethernet/hisilicon/Kconfig | 1 + drivers/net/ethernet/stmicro/stmmac/Kconfig | 6 ++++++ drivers/net/ethernet/ti/Kconfig | 1 + 3 files changed, 8 insertions(+) diff --git a/drivers/net/ethernet/hisilicon/Kconfig b/drivers/net/ethernet/hisilicon/Kconfig index 74beb1867230..6a9c91781bf9 100644 --- a/drivers/net/ethernet/hisilicon/Kconfig +++ b/drivers/net/ethernet/hisilicon/Kconfig @@ -26,6 +26,7 @@ config HIX5HD2_GMAC config HIP04_ETH tristate "HISILICON P04 Ethernet support" select MARVELL_PHY + depends on HAS_IOMEM # For MFD_SYSCON select MFD_SYSCON select HNS_MDIO ---help--- diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig index cec147d1d34f..d6902bf6e90f 100644 --- a/drivers/net/ethernet/stmicro/stmmac/Kconfig +++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig @@ -16,6 +16,7 @@ if STMMAC_ETH config STMMAC_PLATFORM tristate "STMMAC Platform bus support" depends on STMMAC_ETH + depends on HAS_IOMEM # For MFD_SYSCON select MFD_SYSCON default y ---help--- @@ -41,6 +42,7 @@ config DWMAC_IPQ806X tristate "QCA IPQ806x DWMAC support" default ARCH_QCOM depends on OF + depends on HAS_IOMEM # For MFD_SYSCON select MFD_SYSCON help Support for QCA IPQ806X DWMAC Ethernet. @@ -54,6 +56,7 @@ config DWMAC_LPC18XX tristate "NXP LPC18xx/43xx DWMAC support" default ARCH_LPC18XX depends on OF + depends on HAS_IOMEM # For MFD_SYSCON select MFD_SYSCON ---help--- Support for NXP LPC18xx/43xx DWMAC Ethernet. @@ -73,6 +76,7 @@ config DWMAC_ROCKCHIP tristate "Rockchip dwmac support" default ARCH_ROCKCHIP depends on OF + depends on HAS_IOMEM # For MFD_SYSCON select MFD_SYSCON help Support for Ethernet controller on Rockchip RK3288 SoC. @@ -84,6 +88,7 @@ config DWMAC_SOCFPGA tristate "SOCFPGA dwmac support" default ARCH_SOCFPGA depends on OF + depends on HAS_IOMEM # For MFD_SYSCON select MFD_SYSCON help Support for ethernet controller on Altera SOCFPGA @@ -96,6 +101,7 @@ config DWMAC_STI tristate "STi GMAC support" default ARCH_STI depends on OF + depends on HAS_IOMEM # For MFD_SYSCON select MFD_SYSCON ---help--- Support for ethernet controller on STi SOCs. diff --git a/drivers/net/ethernet/ti/Kconfig b/drivers/net/ethernet/ti/Kconfig index e7f0b7d95b65..ec56cebe929d 100644 --- a/drivers/net/ethernet/ti/Kconfig +++ b/drivers/net/ethernet/ti/Kconfig @@ -62,6 +62,7 @@ config TI_CPSW_ALE config TI_CPSW tristate "TI CPSW Switch Support" depends on ARCH_DAVINCI || ARCH_OMAP2PLUS + depends on HAS_IOMEM # For MFD_SYSCON select TI_DAVINCI_CPDMA select TI_DAVINCI_MDIO select TI_CPSW_PHY_SEL