aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.4
diff options
context:
space:
mode:
authorDamien Mascord <tusker@tusker.org>2021-07-13 11:16:08 +1000
committerHauke Mehrtens <hauke@hauke-m.de>2021-08-08 19:49:29 +0200
commit8e10b0181cf63f969705db6054ab0c16331069cf (patch)
treec307ae4e5e824edb36448a661dad45e2f6b62f8b /target/linux/generic/pending-5.4
parent3c0a26b43a2947d22cd907fde0e551273d56b121 (diff)
downloadupstream-8e10b0181cf63f969705db6054ab0c16331069cf.tar.gz
upstream-8e10b0181cf63f969705db6054ab0c16331069cf.tar.bz2
upstream-8e10b0181cf63f969705db6054ab0c16331069cf.zip
kernel: backport mdio_find_bus from 5.10.x
mdio-tools (https://github.com/wkz/mdio-tools) requires the use of mdio_find_bus, which is not present in 5.4.x. This patch backports the required change from 5.10.x to 5.4.x The original patch submission for this can be found at https://patchwork.ozlabs.org/project/netdev/patch/20200201074625.8698-2-jeremy.linton@arm.com/ Signed-off-by: Damien Mascord <tusker@tusker.org> [Add original patch description] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/generic/pending-5.4')
-rw-r--r--target/linux/generic/pending-5.4/703-phy-add-detach-callback-to-struct-phy_driver.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-5.4/703-phy-add-detach-callback-to-struct-phy_driver.patch b/target/linux/generic/pending-5.4/703-phy-add-detach-callback-to-struct-phy_driver.patch
index b74b04ca59..e95cb6a4c5 100644
--- a/target/linux/generic/pending-5.4/703-phy-add-detach-callback-to-struct-phy_driver.patch
+++ b/target/linux/generic/pending-5.4/703-phy-add-detach-callback-to-struct-phy_driver.patch
@@ -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);