generic: ar8216: update version switch for of_get_phy_mode fix
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 16 Feb 2021 21:56:06 +0000 (22:56 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 16 Feb 2021 22:42:43 +0000 (23:42 +0100)
commit0e407dfe8bac1475f8f963dff699e434bbbeb4d5
treebf80742923dfacdcc06c4f10c51af59468859061
parenta24df045db87875e914bbefa4ead2af868e92eeb
generic: ar8216: update version switch for of_get_phy_mode fix

Kernel has changed the of_get_phy_mode API in commit 0c65b2b90d13
("net: of_get_phy_mode: Change API to solve int/unit warnings").

This is already included in kernel 5.5, so fix the version switch
(though this will not actually matter for the versions we support).

Similar driver adjustments to account for the API change will
probably be necessary to various other local drivers.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/generic/files/drivers/net/phy/ar8216.c