kernel: backport phylink changes from mainline Linux
[openwrt/staging/pepe2k.git] / target / linux / generic / backport-6.1 / 835-v6.9-net-phy-add-support-for-PHY-LEDs-polarity-modes.patch
index 1f49b3af0cc82c237626aac602d0f4639d263d6a..0182e6d1a203b07b946a68a327359ab903f29b6f 100644 (file)
@@ -28,7 +28,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 
 --- a/drivers/net/phy/phy_device.c
 +++ b/drivers/net/phy/phy_device.c
-@@ -3140,6 +3140,7 @@ static int of_phy_led(struct phy_device
+@@ -3138,6 +3138,7 @@ static int of_phy_led(struct phy_device
        struct device *dev = &phydev->mdio.dev;
        struct led_init_data init_data = {};
        struct led_classdev *cdev;
@@ -36,7 +36,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
        struct phy_led *phyled;
        u32 index;
        int err;
-@@ -3157,6 +3158,21 @@ static int of_phy_led(struct phy_device
+@@ -3155,6 +3156,21 @@ static int of_phy_led(struct phy_device
        if (index > U8_MAX)
                return -EINVAL;