OSDN Git Service

phy: add 'depends on HAS_IOMEM' to fix unmet dependency
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 6 Mar 2018 11:18:49 +0000 (20:18 +0900)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 16 Mar 2018 08:10:45 +0000 (13:40 +0530)
These configs select MFD_SYSCON, but do not depend on HAS_IOMEM.

Compile testing on architecture without HAS_IOMEM causes "unmet
direct dependencies" in Kconfig phase.

Detected by "make ARCH=score allyesconfig".

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/hisilicon/Kconfig
drivers/phy/ralink/Kconfig
drivers/phy/rockchip/Kconfig

index d9afe2b..5458e6c 100644 (file)
@@ -4,6 +4,7 @@
 config PHY_HI6220_USB
        tristate "hi6220 USB PHY support"
        depends on (ARCH_HISI && ARM64) || COMPILE_TEST
+       depends on HAS_IOMEM
        select GENERIC_PHY
        select MFD_SYSCON
        help
index b17635b..14fd219 100644 (file)
@@ -4,6 +4,7 @@
 config PHY_RALINK_USB
        tristate "Ralink USB PHY driver"
        depends on RALINK || COMPILE_TEST
+       depends on HAS_IOMEM
        select GENERIC_PHY
        select MFD_SYSCON
        help
index f5325b2..0e15119 100644 (file)
@@ -29,6 +29,7 @@ config PHY_ROCKCHIP_INNO_USB2
 config PHY_ROCKCHIP_PCIE
        tristate "Rockchip PCIe PHY Driver"
        depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
+       depends on HAS_IOMEM
        select GENERIC_PHY
        select MFD_SYSCON
        help