Commit ec6beb82 authored by Vinod Koul's avatar Vinod Koul

phy: starfive: make phys depend on HAS_IOMEM

the startfive phy drivers use devm_platform_ioremap_resource() which on
some archs (s390) is not present. So make the drivers depend on HAS_IOMEM

Fixes: f8aa6608 ("phy: starfive: Add mipi dphy rx support")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202307250509.oeudxG28-lkp@intel.com/Reviewed-by: default avatarChanghuang Liang <changhuang.liang@starfivetech.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20230725063856.482696-1-vkoul@kernel.orgSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 486392f4
......@@ -5,6 +5,7 @@
config PHY_STARFIVE_JH7110_DPHY_RX
tristate "StarFive JH7110 D-PHY RX support"
depends on HAS_IOMEM
select GENERIC_PHY
select GENERIC_PHY_MIPI_DPHY
help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment