projects
/
openwrt
/
staging
/
ldir.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generic: 6.1: refresh pending patches
[openwrt/staging/ldir.git]
/
target
/
linux
/
generic
/
pending-6.1
/
703-phy-add-detach-callback-to-struct-phy_driver.patch
diff --git
a/target/linux/generic/pending-6.1/703-phy-add-detach-callback-to-struct-phy_driver.patch
b/target/linux/generic/pending-6.1/703-phy-add-detach-callback-to-struct-phy_driver.patch
index 21c322b4f1140b812cdef86b925ad27c70ad559b..48b1afe3f2823ae9c256eb538f01c62e251591ae 100644
(file)
--- a/
target/linux/generic/pending-6.1/703-phy-add-detach-callback-to-struct-phy_driver.patch
+++ b/
target/linux/generic/pending-6.1/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
-@@ -17
38,6 +1738
,9 @@ void phy_detach(struct phy_device *phyde
+@@ -17
50,6 +1750
,9 @@ void phy_detach(struct phy_device *phyde
struct module *ndev_owner = NULL;
struct mii_bus *bus;
struct module *ndev_owner = NULL;
struct mii_bus *bus;
@@
-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
sysfs_remove_link(&dev->dev.kobj, "phydev");
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
-@@ -
789,6 +789
,12 @@ struct phy_driver {
+@@ -
858,6 +858
,12 @@ struct phy_driver {
/** @handle_interrupt: Override default interrupt handling */
irqreturn_t (*handle_interrupt)(struct phy_device *phydev);
/** @handle_interrupt: Override default interrupt handling */
irqreturn_t (*handle_interrupt)(struct phy_device *phydev);