ipq40xx: net: ethernet: edma: update of_get_phy_mode() for 5.10
authorRobert Marko <robert.marko@sartura.hr>
Sun, 12 Sep 2021 21:00:51 +0000 (23:00 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 25 Sep 2021 17:28:54 +0000 (19:28 +0200)
commit603848cad86538061c245004a39e0d5c77cc05d2
tree457665853ccd86a171ce8af79b178f9e3d018ea1
parent80f007fdb203022f632c4e7bb7ff78b1fde80b63
ipq40xx: net: ethernet: edma: update of_get_phy_mode() for 5.10

In kernel v5.5 of_get_phy_mode had its API changed, so its now returning 0
or errors instead of phymode.

Phymode is now returning by passing a pointer to phy_interface_t where it
will be stored.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma_axi.c