diff options
author | Robert Marko <robimarko@gmail.com> | 2023-05-06 12:45:56 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-12 03:15:34 +0200 |
commit | 1f8c8bca5ea77c79850ea6b0b95204ccade69495 (patch) | |
tree | b1e8a198b107c69e2f2aa2e65907eba923e9db5b /target/linux/archs38 | |
parent | 7a2a645801886e150269a8d00c748105774892f3 (diff) | |
download | upstream-1f8c8bca5ea77c79850ea6b0b95204ccade69495.tar.gz upstream-1f8c8bca5ea77c79850ea6b0b95204ccade69495.tar.bz2 upstream-1f8c8bca5ea77c79850ea6b0b95204ccade69495.zip |
ipq40xx: add PSGMII PHY mode to phylink_get_linkmodes()
Upstream commit ("net: phylink: add generic validate implementation") was
backported, however PSGMII PHY mode patch for ipq40xx was not updated to
add PSGMII to phylink_get_linkmodes() so the following warning would be
printed during kernel compilation:
drivers/net/phy/phylink.c: In function 'phylink_get_linkmodes':
drivers/net/phy/phylink.c:360:9: error: enumeration value 'PHY_INTERFACE_MODE_PSGMII' not handled in switch [-Werror=switch]
360 | switch (interface) {
| ^~~~~~
Resolve the warning by adding the PSGMII mode to phylink_get_linkmodes().
Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux/archs38')
0 files changed, 0 insertions, 0 deletions