projects
/
openwrt
/
staging
/
rmilecki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 4.19 to 4.19.115
[openwrt/staging/rmilecki.git]
/
target
/
linux
/
generic
/
pending-4.19
/
703-phy-add-detach-callback-to-struct-phy_driver.patch
diff --git
a/target/linux/generic/pending-4.19/703-phy-add-detach-callback-to-struct-phy_driver.patch
b/target/linux/generic/pending-4.19/703-phy-add-detach-callback-to-struct-phy_driver.patch
index 1c180b225b17c8a246450bfd5e6c71d43dbba51c..c8847a0234fabc374da0d6f6d46328611a0cbd0d 100644
(file)
--- a/
target/linux/generic/pending-4.19/703-phy-add-detach-callback-to-struct-phy_driver.patch
+++ b/
target/linux/generic/pending-4.19/703-phy-add-detach-callback-to-struct-phy_driver.patch
@@
-11,7
+11,7
@@
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
--- a/drivers/net/phy/phy_device.c
+++ b/drivers/net/phy/phy_device.c
-@@ -120
1,6 +1201
,9 @@ void phy_detach(struct phy_device *phyde
+@@ -120
5,6 +1205
,9 @@ void phy_detach(struct phy_device *phyde
struct module *ndev_owner = dev->dev.parent->driver->owner;
struct mii_bus *bus;
struct module *ndev_owner = dev->dev.parent->driver->owner;
struct mii_bus *bus;
@@
-23,7
+23,7
@@
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
sysfs_remove_link(&phydev->mdio.dev.kobj, "attached_dev");
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
sysfs_remove_link(&phydev->mdio.dev.kobj, "attached_dev");
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
-@@ -56
7,6 +567
,12 @@ struct phy_driver {
+@@ -56
9,6 +569
,12 @@ struct phy_driver {
*/
int (*did_interrupt)(struct phy_device *phydev);
*/
int (*did_interrupt)(struct phy_device *phydev);