Commit 89636add authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Kishon Vijay Abraham I

phy: Fix armada375 compile test build on UM

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: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent b9564016
...@@ -32,7 +32,7 @@ config PHY_BERLIN_SATA ...@@ -32,7 +32,7 @@ config PHY_BERLIN_SATA
config ARMADA375_USBCLUSTER_PHY config ARMADA375_USBCLUSTER_PHY
def_bool y def_bool y
depends on MACH_ARMADA_375 || COMPILE_TEST depends on MACH_ARMADA_375 || COMPILE_TEST
depends on OF depends on OF && HAS_IOMEM
select GENERIC_PHY select GENERIC_PHY
config PHY_DM816X_USB config PHY_DM816X_USB
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment