From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756133AbcBCGWD (ORCPT ); Wed, 3 Feb 2016 01:22:03 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:55892 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668AbcBCGWB (ORCPT ); Wed, 3 Feb 2016 01:22:01 -0500 Subject: Re: [PATCH 02/22] phy: Fix dependencies for !HAS_IOMEM archs To: Richard Weinberger , References: <1453760661-1444-1-git-send-email-richard@nod.at> <1453760661-1444-3-git-send-email-richard@nod.at> CC: From: Kishon Vijay Abraham I Message-ID: <56B19C7B.4050606@ti.com> Date: Wed, 3 Feb 2016 11:51:47 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1453760661-1444-3-git-send-email-richard@nod.at> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 26 January 2016 03:54 AM, Richard Weinberger wrote: > Not every arch has io memory. > So, unbreak the build by fixing the dependencies. > > Signed-off-by: Richard Weinberger Acked-by: Kishon Vijay Abraham I > --- > drivers/phy/Kconfig | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig > index e7e117d..ddfbaf9 100644 > --- a/drivers/phy/Kconfig > +++ b/drivers/phy/Kconfig > @@ -33,6 +33,7 @@ config ARMADA375_USBCLUSTER_PHY > def_bool y > depends on MACH_ARMADA_375 || COMPILE_TEST > depends on OF > + depends on HAS_IOMEM > select GENERIC_PHY > > config PHY_DM816X_USB > @@ -128,6 +129,7 @@ config PHY_RCAR_GEN3_USB2 > config OMAP_CONTROL_PHY > tristate "OMAP CONTROL PHY Driver" > depends on ARCH_OMAP2PLUS || COMPILE_TEST > + depends on HAS_IOMEM > help > Enable this to add support for the PHY part present in the control > module. This driver has API to power on the USB2 PHY and to write to > @@ -224,6 +226,7 @@ config PHY_MT65XX_USB3 > > config PHY_HI6220_USB > tristate "hi6220 USB PHY support" > + depends on HAS_IOMEM > select GENERIC_PHY > select MFD_SYSCON > help > @@ -400,6 +403,7 @@ config PHY_BRCMSTB_SATA > config PHY_CYGNUS_PCIE > tristate "Broadcom Cygnus PCIe PHY driver" > depends on OF && (ARCH_BCM_CYGNUS || COMPILE_TEST) > + depends on HAS_IOMEM > select GENERIC_PHY > default ARCH_BCM_CYGNUS > help >