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


Groups > linux.kernel > #1345511 > unrolled thread

[PATCH] phy: Fix armada375 compile test build on UM

Started byKrzysztof Kozlowski <k.kozlowski@samsung.com>
First post2016-02-29 07:00 +0100
Last post2016-02-29 07:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] phy: Fix armada375 compile test build on UM Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-29 07:00 +0100

#1345511 — [PATCH] phy: Fix armada375 compile test build on UM

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-02-29 07:00 +0100
Subject[PATCH] phy: Fix armada375 compile test build on UM
Message-ID<r7p29-6zD-7@gated-at.bofh.it>
The phy-armada375-usb2 driver uses IOMEM functions so COMPILE_TEST && OF
build failed with:

drivers/built-in.o: In function `armada375_usb_phy_probe':
phy-armada375-usb2.c:(.text+0x121d): undefined reference to `devm_ioremap_resource'

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 drivers/phy/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 0124d17bd9fe..786a9d6356b8 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -32,7 +32,7 @@ config PHY_BERLIN_SATA
 config ARMADA375_USBCLUSTER_PHY
 	def_bool y
 	depends on MACH_ARMADA_375 || COMPILE_TEST
-	depends on OF
+	depends on OF && HAS_IOMEM
 	select GENERIC_PHY
 
 config PHY_DM816X_USB
-- 
2.5.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web