phy: starfive: make phys depend on HAS_IOMEM
Vinod Koul
maintainerPATCH 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")
Reported-by kernel test robot <[email protected]>
Signed-off-by Vinod Koul <[email protected]>
--- drivers/phy/starfive/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/phy/starfive/Kconfig +1 -0
@@ -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
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 onHAS_IOMEMFixes f8aa660841bc ("phy: starfive: Add mipi dphy rx support")Reported-by kernel test robot <[email protected]>Signed-off-by Vinod Koul <[email protected]>
Reviewed-by Changhuang Liang <[email protected]>
Quoted 16 lines
--- drivers/phy/starfive/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/phy/starfive/Kconfig +1
-0@@ -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
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 onHAS_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