From: Richard Weinberger Date: Mon, 17 Feb 2014 08:59:21 +0000 (+0530) Subject: phy,phy-bcm-kona-usb2.c: Add dependency on HAS_IOMEM X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06c304e88907cac9b1f5b21727ff268bf1705bb5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: Richard Weinberger Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index afa2354f6600..79e3c7045d8d 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -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.