generic: 6.6: manually refresh backport patches
[openwrt/staging/wigyori.git] / target / linux / generic / backport-6.6 / 716-v6.9-03-net-phy-add-devm-of_phy_package_join-helper.patch
index 3c7bf6c132ff5757a188895ece1d71523bdb7f87..00bbd3b80b5f833abdbbd79f31d8651212d1c8ad 100644 (file)
@@ -170,7 +170,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
        refcount_t refcnt;
        unsigned long flags;
        size_t priv_size;
-@@ -1793,9 +1796,12 @@ int phy_ethtool_set_link_ksettings(struc
+@@ -1971,9 +1974,12 @@ int phy_ethtool_set_link_ksettings(struc
                                   const struct ethtool_link_ksettings *cmd);
  int phy_ethtool_nway_reset(struct net_device *ndev);
  int phy_package_join(struct phy_device *phydev, int base_addr, size_t priv_size);
@@ -181,5 +181,5 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
 +int devm_of_phy_package_join(struct device *dev, struct phy_device *phydev,
 +                           size_t priv_size);
  
- #if IS_ENABLED(CONFIG_PHYLIB)
  int __init mdio_bus_init(void);
+ void mdio_bus_exit(void);