OSDN Git Service

phy: starfive: make phys depend on HAS_IOMEM
authorVinod Koul <vkoul@kernel.org>
Tue, 25 Jul 2023 06:38:56 +0000 (12:08 +0530)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Jul 2023 13:52:11 +0000 (19:22 +0530)
commitec6beb82587c73cff52730567016cbc6c17822a8
tree913327f4e1f80944b7d3a4e7667260a1ed614ee5
parent486392f44dd96aeb34bbbc1b119bc5d332f1164f
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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202307250509.oeudxG28-lkp@intel.com/
Reviewed-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20230725063856.482696-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/starfive/Kconfig