kernel: backport mdio_find_bus from 5.10.x
[openwrt/openwrt.git] / target / linux / generic / pending-5.4 / 703-phy-add-detach-callback-to-struct-phy_driver.patch
index b74b04ca59d1c9def85edcb3eb2bbd004442c752..e95cb6a4c5e1f95199768e29f8bb802cede72cb9 100644 (file)
@@ -23,7 +23,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
                        sysfs_remove_link(&dev->dev.kobj, "phydev");
 --- a/include/linux/phy.h
 +++ b/include/linux/phy.h
-@@ -540,6 +540,12 @@ struct phy_driver {
+@@ -541,6 +541,12 @@ struct phy_driver {
        /* Override default interrupt handling */
        int (*handle_interrupt)(struct phy_device *phydev);