kernel: backport phylink changes from mainline Linux
[openwrt/staging/wigyori.git] / target / linux / generic / backport-6.1 / 826-v6.6-02-net-phy-phy_device-Call-into-the-PHY-driver-to-set-L.patch
index 947db79f064f091f7dea999699bd49107f8dd191..505513a53fe31f38945583f3a445925238855419 100644 (file)
@@ -23,7 +23,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 
 --- a/drivers/net/phy/phy_device.c
 +++ b/drivers/net/phy/phy_device.c
-@@ -3070,6 +3070,61 @@ static int phy_led_blink_set(struct led_
+@@ -3068,6 +3068,61 @@ static int phy_led_blink_set(struct led_
        return err;
  }
  
@@ -85,7 +85,7 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  static void phy_leds_unregister(struct phy_device *phydev)
  {
        struct phy_led *phyled;
-@@ -3107,6 +3162,19 @@ static int of_phy_led(struct phy_device
+@@ -3105,6 +3160,19 @@ static int of_phy_led(struct phy_device
                cdev->brightness_set_blocking = phy_led_set_brightness;
        if (phydev->drv->led_blink_set)
                cdev->blink_set = phy_led_blink_set;