]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
phy,phy-bcm-kona-usb2.c: Add dependency on HAS_IOMEM
authorRichard Weinberger <richard@nod.at>
Mon, 17 Feb 2014 08:59:21 +0000 (14:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 20:13:15 +0000 (12:13 -0800)
On archs like S390 or um this driver cannot build nor work.
Make it depend on HAS_IOMEM to bypass build failures.

drivers/phy/phy-bcm-kona-usb2.c:114: undefined reference to `devm_ioremap_resource'

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/Kconfig

index afa2354f6600e72d904ea907ee92f775010ae8a9..79e3c7045d8d64c3d30cd9f729a71078030df461 100644 (file)
@@ -61,6 +61,7 @@ config PHY_EXYNOS_DP_VIDEO
 config BCM_KONA_USB2_PHY
        tristate "Broadcom Kona USB2 PHY Driver"
        depends on GENERIC_PHY
+       depends on HAS_IOMEM
        help
          Enable this to support the Broadcom Kona USB 2.0 PHY.