Skip to contentSkip to conversation

phy: starfive: make phys depend on HAS_IOMEM

PATCH Applied Vinod Koul 2 participants 3 messages Jul 25, 2023 Generic PHY framework

lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw

PATCH v2 1/1 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")
---
 drivers/phy/starfive/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/phy/starfive/Kconfig +1 -0
index a560533a674e..0508f9b123e0 100644
@@ -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
Signature · 7 lines
2.41.0


-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
Reviewed-by on v2 1/1
#1 lore raw
Quoted 7 lines · Vinod Koul

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")
Quoted 16 lines
---
 drivers/phy/starfive/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/phy/starfive/Kconfig +1 -0
index a560533a674e..0508f9b123e0 100644
@@ -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
Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
author maintainer Applied
#2 lore raw
In reply to Vinod Koul
Quoted 4 lines · Vinod Koul

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

Applied, thanks!

[1/1] phy: starfive: make phys depend on HAS_IOMEM

      commit: ec6beb82587c73cff52730567016cbc6c17822a8

Best regards,

Signature · 8 lines
~Vinod



-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy