From: Kunihiko Hayashi Date: Mon, 15 Oct 2018 01:31:30 +0000 (+0900) Subject: phy: uniphier-pcie: Depend on HAS_IOMEM X-Git-Tag: v4.20-rc5~16^2~3^2~3 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=f5fde094a7425ac062f22a94e8a711efa5074946;p=linux-2.6-block.git 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 Signed-off-by: Kishon Vijay Abraham I --- 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