Commit bb0e500bedb8aaab986878aa90b99582d201576c

Authored by Masahiro Yamada
Committed by Kishon Vijay Abraham I
1 parent 115de9fd68

phy: add 'depends on HAS_IOMEM' to fix unmet dependency

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>

Showing 3 changed files with 3 additions and 0 deletions Side-by-side Diff

drivers/phy/hisilicon/Kconfig
... ... @@ -4,6 +4,7 @@
4 4 config PHY_HI6220_USB
5 5 tristate "hi6220 USB PHY support"
6 6 depends on (ARCH_HISI && ARM64) || COMPILE_TEST
  7 + depends on HAS_IOMEM
7 8 select GENERIC_PHY
8 9 select MFD_SYSCON
9 10 help
drivers/phy/ralink/Kconfig
... ... @@ -4,6 +4,7 @@
4 4 config PHY_RALINK_USB
5 5 tristate "Ralink USB PHY driver"
6 6 depends on RALINK || COMPILE_TEST
  7 + depends on HAS_IOMEM
7 8 select GENERIC_PHY
8 9 select MFD_SYSCON
9 10 help
drivers/phy/rockchip/Kconfig
... ... @@ -29,6 +29,7 @@
29 29 config PHY_ROCKCHIP_PCIE
30 30 tristate "Rockchip PCIe PHY Driver"
31 31 depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
  32 + depends on HAS_IOMEM
32 33 select GENERIC_PHY
33 34 select MFD_SYSCON
34 35 help