Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757405AbcCCLBK (ORCPT ); Thu, 3 Mar 2016 06:01:10 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:51150 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756870AbcCCLBG (ORCPT ); Thu, 3 Mar 2016 06:01:06 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski , 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-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 Subject: Re: [RFC 10/15] net: ethernet: Add missing MFD_SYSCON dependency on HAS_IOMEM Date: Thu, 03 Mar 2016 11:59:22 +0100 Message-ID: <15882485.8qUKXzsQVL@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1456992221-26712-11-git-send-email-k.kozlowski@samsung.com> References: <1456992221-26712-1-git-send-email-k.kozlowski@samsung.com> <1456992221-26712-11-git-send-email-k.kozlowski@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:Cp+mKWQe2p4FpVJUyRKnylmyrIhOSVE5A20kbiWRDlv//CY28Xu zP1V1COvypRYoLaMZcy2obMnq6Xhl2BsSDqMd7wzPUKXvCBCPpGogZQtbx2mMAzQEljmCPU 8/g1rdOmDzDOkg3yZ/VQVa/72Z80b32RK70fX8vSOhTlzKAil67ZwQePIXRIPV6V2qVQrQH mEpaSl2zAAXA7kEW8jj2w== X-UI-Out-Filterresults: notjunk:1;V01:K0:WC6xjjwn8tM=:pn5IZZDzlFatNsq7YfIaNV hf87emvgioYCuurNyiaE9KjfQNI7Ad4KXo8MUT39xdVSxmRlr7EOkVJwZEdJsxR2xassiPMmH SEHu/bSThGiVhdLiyRI8O+UvHJLeO/5lvVlSDvGhe3UWoMIE1Cxo7jMzjjc3Ie9rTfNAhM6Ux lAOM2UiypEGF1TytgfIUGMfn1Q8+JSNJa8WNB6N2xqD0sXfK5wmwMfAo3oRLwCn58xfeSC6Ff Asdvv0ziW5GCen/oybsv28vYqv5nuX3ao6of0b7MuiMEJwequaXqCAW1mpkKeK7kWQu6T5Zgn khLS7H38jIKxBkWt6911e/aUr6g/J4RdpY5Gexx6Fh8hYEjy7XyAY3SOSHliFVz/BU5J9++VR KwG89DCgVC/iDGO6Wt3vGyYeiXc7GCZb4T2uDLy0UXJMIKddKP3xB4UNnfLfwh5uSyJjO7jBF 5ClggX87bU0zOObAYzJc072c9GgUfOmx/gXi5OR26bqIZZz1pBwag+4zek4OiqQl/OLC2GKUF kFvCjKUmA3eYYbS2MxfOad6eAtCx80OJA3Ki1vP5r1p3YCyPaITYi0jYZu+4ZzfhpgDCgJ5dP GODkH0EsBHeACltZwlCjZM81gW+6deTgoRq0JrjuogNG4uA/fD332ODZNhscq9uKXM3LC+7fu 5sc+/p4RBgSP6jn2cugtc3ckpXp0QP0riQl6Z9VJQeAyaOe8WBKUDrCr8aKNkH4cCEJA6L6hh KHn6IcX3TuhC909P Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2120 Lines: 61 On Thursday 03 March 2016 17:03:36 Krzysztof Kozlowski wrote: > 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--- Geert added a HAS_DMA dependency in linux-next, which takes care of this, although it's still technically correct as well. > 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--- NET_VENDOR_STMICRO depends on HAS_IOMEM, so we are good here for the entire directory. > 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 > This again is platform specific, so the chagnge is not needed. Arnd