From: Vinod Koul Date: Tue, 25 Jul 2023 06:38:56 +0000 (+0530) Subject: phy: starfive: make phys depend on HAS_IOMEM X-Git-Tag: v6.6-rc1~73^2~27 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ec6beb82587c73cff52730567016cbc6c17822a8;p=linux-block.git 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: f8aa660841bc ("phy: starfive: Add mipi dphy rx support") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202307250509.oeudxG28-lkp@intel.com/ Reviewed-by: Changhuang Liang Signed-off-by: Vinod Koul Link: https://lore.kernel.org/r/20230725063856.482696-1-vkoul@kernel.org Signed-off-by: Vinod Koul --- diff --git a/drivers/phy/starfive/Kconfig b/drivers/phy/starfive/Kconfig index a560533a674e..0508f9b123e0 100644 --- a/drivers/phy/starfive/Kconfig +++ b/drivers/phy/starfive/Kconfig @@ -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