Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Masahiro Yamada and committed by
Kishon Vijay Abraham I
bb0e500b 115de9fd

+3
+1
drivers/phy/hisilicon/Kconfig
··· 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
+1
drivers/phy/ralink/Kconfig
··· 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
+1
drivers/phy/rockchip/Kconfig
··· 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