layerscape: 5.15: fix compilation warning for PHY_INTERFACE_MODE_2500SGMII
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 8 May 2023 18:55:19 +0000 (20:55 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 May 2023 01:15:41 +0000 (03:15 +0200)
commite28196c4aac733ed23a8fcabe22c1e4dbfac3b5f
tree22e23dceac247bfe86e7dc3dba8a6174cc3c3bc1
parentade9eba1496bb01acc03731c4ccb5369802b73ac
layerscape: 5.15: fix compilation warning for PHY_INTERFACE_MODE_2500SGMII

Fix compilation warning for PHY_INTERFACE_MODE_2500SGMII patch.
Fix compilation warning:
drivers/net/phy/phylink.c: In function 'phylink_get_linkmodes':
drivers/net/phy/phylink.c:360:9: error: enumeration value 'PHY_INTERFACE_MODE_2500SGMII' not handled in switch [-Werror=switch]
  360 |         switch (interface) {
      |         ^~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/layerscape/patches-5.15/702-phy-Add-2.5G-SGMII-interface-mode.patch