sunxi: refresh kernel 5.4 patches

Fixes: #427
This commit is contained in:
AmadeusGhost 2021-08-10 12:05:03 +08:00
parent eb1903b46e
commit 2b89737e4b

View File

@ -26,7 +26,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
if (ret)
return ret;
- plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac);
- plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac);
- if (IS_ERR(plat_dat))
- return PTR_ERR(plat_dat);
-
@ -39,7 +39,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
return -EINVAL;
- plat_dat->interface = ret;
+
+ plat_dat = stmmac_probe_config_dt(pdev, &stmmac_res.mac);
+ plat_dat = stmmac_probe_config_dt(pdev, stmmac_res.mac);
+ if (IS_ERR(plat_dat))
+ return PTR_ERR(plat_dat);