]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
phy: Fix armada375 compile test build on UM
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 29 Feb 2016 05:56:30 +0000 (14:56 +0900)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 1 Mar 2016 11:43:51 +0000 (17:13 +0530)
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>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/Kconfig

index f58e87064df402e1ddaae894d9cbefd54b695b60..26566db09de096e0f8a9c74705469476a500da6a 100644 (file)
@@ -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