diff options
author | Vinod Koul <[email protected]> | 2023-07-25 12:08:56 +0530 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-07-25 19:22:11 +0530 |
commit | ec6beb82587c73cff52730567016cbc6c17822a8 (patch) | |
tree | 913327f4e1f80944b7d3a4e7667260a1ed614ee5 | |
parent | 486392f44dd96aeb34bbbc1b119bc5d332f1164f (diff) |
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 <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Reviewed-by: Changhuang Liang <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
-rw-r--r-- | drivers/phy/starfive/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 |