summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-brcm-sata.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/phy/phy-brcm-sata.c')
-rw-r--r--drivers/phy/phy-brcm-sata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/phy-brcm-sata.c b/drivers/phy/phy-brcm-sata.c
index 18d662610075..8ffc44afdb75 100644
--- a/drivers/phy/phy-brcm-sata.c
+++ b/drivers/phy/phy-brcm-sata.c
@@ -367,7 +367,7 @@ static int brcm_sata_phy_init(struct phy *phy)
rc = -ENODEV;
};
- return 0;
+ return rc;
}
static const struct phy_ops phy_ops = {