aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2023-05-06 12:45:56 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-05-12 03:15:34 +0200
commit1f8c8bca5ea77c79850ea6b0b95204ccade69495 (patch)
treeb1e8a198b107c69e2f2aa2e65907eba923e9db5b /target/linux/ath79
parent7a2a645801886e150269a8d00c748105774892f3 (diff)
downloadupstream-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/ath79')
0 files changed, 0 insertions, 0 deletions