summaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/starfive/phy-jh7110-pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/starfive/phy-jh7110-pcie.c b/drivers/phy/starfive/phy-jh7110-pcie.c
index cbe79c1f59d3..734c8e007727 100644
--- a/drivers/phy/starfive/phy-jh7110-pcie.c
+++ b/drivers/phy/starfive/phy-jh7110-pcie.c
@@ -151,7 +151,7 @@ static int jh7110_pcie_phy_probe(struct platform_device *pdev)
phy->phy = devm_phy_create(dev, NULL, &jh7110_pcie_phy_ops);
if (IS_ERR(phy->phy))
- return dev_err_probe(dev, PTR_ERR(phy->regs),
+ return dev_err_probe(dev, PTR_ERR(phy->phy),
"Failed to map phy base\n");
phy->sys_syscon =