Commit 06c304e8 authored by Richard Weinberger's avatar Richard Weinberger Committed by Greg Kroah-Hartman

phy,phy-bcm-kona-usb2.c: Add dependency on HAS_IOMEM

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: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f2dece44
...@@ -61,6 +61,7 @@ config PHY_EXYNOS_DP_VIDEO ...@@ -61,6 +61,7 @@ config PHY_EXYNOS_DP_VIDEO
config BCM_KONA_USB2_PHY config BCM_KONA_USB2_PHY
tristate "Broadcom Kona USB2 PHY Driver" tristate "Broadcom Kona USB2 PHY Driver"
depends on GENERIC_PHY depends on GENERIC_PHY
depends on HAS_IOMEM
help help
Enable this to support the Broadcom Kona USB 2.0 PHY. Enable this to support the Broadcom Kona USB 2.0 PHY.
......
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