Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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.