ramips: refresh at803x patch
[openwrt/staging/wigyori.git] / target / linux / ramips / patches-5.4 / 991-at803x.patch
index 6e178b80cee0e4ee095b5a9b0717018dd548f130..4de3118547942d71a3a547bd8ec24278c48b0988 100644 (file)
@@ -105,7 +105,7 @@ Signed-off-by: RenĂ© van Dorst <opensource@vdorst.com>
  {
        struct device *dev = &phydev->mdio.dev;
        struct at803x_priv *priv;
-       int ret;
+       int ret = 0;
  
 +      if (at803x_mode(phydev) == AT803X_MODE_FIBER) {
 +              ret = phy_sfp_probe(phydev, &at803x_sfp_ops);