diff options
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2018-10-15 10:31:30 +0900 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2018-11-12 16:19:06 +0530 |
commit | f5fde094a7425ac062f22a94e8a711efa5074946 (patch) | |
tree | d213c85947876e3ee574b18d3018497b639f2ae9 /drivers/phy/socionext/Kconfig | |
parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) | |
download | lwn-f5fde094a7425ac062f22a94e8a711efa5074946.tar.gz lwn-f5fde094a7425ac062f22a94e8a711efa5074946.zip |
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/Kconfig')
-rw-r--r-- | drivers/phy/socionext/Kconfig | 3 |
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 |