summaryrefslogtreecommitdiffstats
path: root/drivers/phy/socionext
diff options
context:
space:
mode:
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>2018-10-15 10:31:30 +0900
committerKishon Vijay Abraham I <kishon@ti.com>2018-11-12 16:19:06 +0530
commitf5fde094a7425ac062f22a94e8a711efa5074946 (patch)
treed213c85947876e3ee574b18d3018497b639f2ae9 /drivers/phy/socionext
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadlinux-f5fde094a7425ac062f22a94e8a711efa5074946.tar.bz2
phy: uniphier-pcie: Depend on HAS_IOMEM
The driver uses devm_ioremap_resource() which is only available when CONFIG_HAS_IOMEM is set, so the driver depends on this option. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/socionext')
-rw-r--r--drivers/phy/socionext/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/phy/socionext/Kconfig b/drivers/phy/socionext/Kconfig
index 467e8147972b..9c85231a6dbc 100644
--- a/drivers/phy/socionext/Kconfig
+++ b/drivers/phy/socionext/Kconfig
@@ -26,7 +26,8 @@ config PHY_UNIPHIER_USB3
config PHY_UNIPHIER_PCIE
tristate "Uniphier PHY driver for PCIe controller"
- depends on (ARCH_UNIPHIER || COMPILE_TEST) && OF
+ depends on ARCH_UNIPHIER || COMPILE_TEST
+ depends on OF && HAS_IOMEM
default PCIE_UNIPHIER
select GENERIC_PHY
help