Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1317365

[PATCH 02/22] phy: Fix dependencies for !HAS_IOMEM archs

From Richard Weinberger <richard@nod.at>
Newsgroups linux.kernel
Subject [PATCH 02/22] phy: Fix dependencies for !HAS_IOMEM archs
Date 2016-01-25 23:30 +0100
Message-ID <qUXO3-2e8-41@gated-at.bofh.it> (permalink)
References <qUXO2-2e8-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Not every arch has io memory.
So, unbreak the build by fixing the dependencies.

Signed-off-by: Richard Weinberger <richard@nod.at>
---
 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
-- 
1.8.4.5

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

(none) Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
  [PATCH 12/22] nvmem: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
    Re: [PATCH 12/22] nvmem: Fix dependencies for !HAS_IOMEM archs Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2016-01-26 12:20 +0100
      Re: [PATCH 12/22] nvmem: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-26 15:30 +0100
  [PATCH 18/22] irqchip: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
    [tip:irq/urgent] irqchip: Fix dependencies for archs w/  o HAS_IOMEM tip-bot for Richard Weinberger <tipbot@zytor.com> - 2016-01-26 16:10 +0100
  [PATCH 19/22] thermal: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
  [PATCH 02/22] phy: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
  [PATCH 20/22] clocksource: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
    [tip:timers/urgent] clocksource: Fix dependencies for archs w/  o HAS_IOMEM tip-bot for Richard Weinberger <tipbot@zytor.com> - 2016-01-26 16:50 +0100
  [PATCH 15/22] watchdog: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
    Re: [PATCH 15/22] watchdog: Fix dependencies for !HAS_IOMEM archs Guenter Roeck <linux@roeck-us.net> - 2016-01-26 03:50 +0100
  [PATCH 10/22] mailbox: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
  [PATCH 21/22] mtd: cs553x: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
    Re: [PATCH 21/22] mtd: cs553x: Fix dependencies for !HAS_IOMEM archs Geert Uytterhoeven <geert@linux-m68k.org> - 2016-01-26 12:10 +0100
      Re: [PATCH 21/22] mtd: cs553x: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-26 15:00 +0100
  [PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
    Re: [PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs Paul Bolle <pebolle@tiscali.nl> - 2016-01-26 01:20 +0100
      Re: [PATCH 16/22] iio: imu: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-26 09:20 +0100
  [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:30 +0100
    Re: [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs Daniel Thompson <daniel.thompson@linaro.org> - 2016-01-26 11:00 +0100
    Re: [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs Herbert Xu <herbert@gondor.apana.org.au> - 2016-01-26 15:50 +0100
  [PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:40 +0100
    Re: [PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs Florian Fainelli <f.fainelli@gmail.com> - 2016-01-27 00:40 +0100
      Re: [PATCH 01/22] power: reset: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-27 09:10 +0100
  [PATCH 06/22] iio: adc: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:40 +0100
  [PATCH 07/22] fpga: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:40 +0100
    Re: [PATCH 07/22] fpga: Fix dependencies for !HAS_IOMEM archs Moritz Fischer <moritz.fischer@ettus.com> - 2016-01-26 00:40 +0100
  [PATCH 08/22] hwtracing: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:40 +0100
  [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:40 +0100
    Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA  archs John Garry <john.garry@huawei.com> - 2016-01-26 11:20 +0100
      Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA  archs Richard Weinberger <richard@nod.at> - 2016-01-26 11:40 +0100
        Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA  archs John Garry <john.garry@huawei.com> - 2016-01-26 12:00 +0100
          Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-01-27 03:20 +0100
  [PATCH 04/22] staging: iio: Fix dependencies for !HAS_IOMEM archs Richard Weinberger <richard@nod.at> - 2016-01-25 23:40 +0100
    Re: [PATCH 04/22] staging: iio: Fix dependencies for !HAS_IOMEM archs Geert Uytterhoeven <geert@linux-m68k.org> - 2016-01-26 12:00 +0100

csiph-web