kernel: 5.15: backport v6.1 PHY changes required for Aquantia
[openwrt/staging/svanheule.git] / target / linux / generic / backport-5.15 / 815-v6.4-06-net-phy-phy_device-Call-into-the-PHY-driver-to-set-L.patch
index f990557cc73ddfd2589150c4b2fe743a1c84b40c..3968a884b8b017e6108d789f75634c2460f3fa58 100644 (file)
@@ -59,7 +59,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
        init_data.fwnode = of_fwnode_handle(led);
 --- a/include/linux/phy.h
 +++ b/include/linux/phy.h
-@@ -745,15 +745,19 @@ struct phy_tdr_config {
+@@ -755,15 +755,19 @@ struct phy_tdr_config {
   * struct phy_led: An LED driven by the PHY
   *
   * @list: List of LEDs
@@ -79,7 +79,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  /**
   * struct phy_driver - Driver structure for a particular PHY type
   *
-@@ -953,6 +957,15 @@ struct phy_driver {
+@@ -978,6 +982,15 @@ struct phy_driver {
        int (*get_sqi)(struct phy_device *dev);
        /** @get_sqi_max: Get the maximum signal quality indication */
        int (*get_sqi_max)(struct phy_device *dev);