diff options
author | Luka Perkov <luka@openwrt.org> | 2014-07-10 22:37:28 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-07-10 22:37:28 +0000 |
commit | 508f1c2dbc7d1204dcdc9a4628c3687eea9ff542 (patch) | |
tree | a319d92c63bf87f37b5689b0caa9c229975382e4 /target/linux/generic/patches-3.12/703-phy-add-detach-callback-to-struct-phy_driver.patch | |
parent | 8596ba6e34c1027aebf737f4e215ae56b03dbe8a (diff) | |
download | upstream-508f1c2dbc7d1204dcdc9a4628c3687eea9ff542.tar.gz upstream-508f1c2dbc7d1204dcdc9a4628c3687eea9ff542.tar.bz2 upstream-508f1c2dbc7d1204dcdc9a4628c3687eea9ff542.zip |
kernel: remove 3.12 support since none of the targets is using it
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41581 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.12/703-phy-add-detach-callback-to-struct-phy_driver.patch')
-rw-r--r-- | target/linux/generic/patches-3.12/703-phy-add-detach-callback-to-struct-phy_driver.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/generic/patches-3.12/703-phy-add-detach-callback-to-struct-phy_driver.patch b/target/linux/generic/patches-3.12/703-phy-add-detach-callback-to-struct-phy_driver.patch deleted file mode 100644 index 2b628d1f39..0000000000 --- a/target/linux/generic/patches-3.12/703-phy-add-detach-callback-to-struct-phy_driver.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/drivers/net/phy/phy_device.c -+++ b/drivers/net/phy/phy_device.c -@@ -613,6 +613,9 @@ EXPORT_SYMBOL(phy_attach); - */ - void phy_detach(struct phy_device *phydev) - { -+ if (phydev->drv && phydev->drv->detach) -+ phydev->drv->detach(phydev); -+ - phydev->attached_dev->phydev = NULL; - phydev->attached_dev = NULL; - ---- a/include/linux/phy.h -+++ b/include/linux/phy.h -@@ -436,6 +436,12 @@ struct phy_driver { - */ - int (*did_interrupt)(struct phy_device *phydev); - -+ /* -+ * Called before an ethernet device is detached -+ * from the PHY. -+ */ -+ void (*detach)(struct phy_device *phydev); -+ - /* Clears up any memory if needed */ - void (*remove)(struct phy_device *phydev); - |