projects
/
openwrt
/
staging
/
dangole.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77e1a36
)
ar8216: suppress PHY reset for linux 3.14
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 27 Nov 2014 18:26:06 +0000
(18:26 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 27 Nov 2014 18:26:06 +0000
(18:26 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43410
target/linux/generic/files/drivers/net/phy/ar8216.c
patch
|
blob
|
history
diff --git
a/target/linux/generic/files/drivers/net/phy/ar8216.c
b/target/linux/generic/files/drivers/net/phy/ar8216.c
index 5e93a1f75d765797ba87ab1b285d34b3c60a32eb..a4e2260e4536f3594020d51839fb8dad98b1f4eb 100644
(file)
--- a/
target/linux/generic/files/drivers/net/phy/ar8216.c
+++ b/
target/linux/generic/files/drivers/net/phy/ar8216.c
@@
-3043,7
+3043,7
@@
ar8xxx_phy_remove(struct phy_device *phydev)
ar8xxx_free(priv);
}
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,1
6
,0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,1
4
,0)
static int
ar8xxx_phy_soft_reset(struct phy_device *phydev)
{
@@
-3063,7
+3063,7
@@
static struct phy_driver ar8xxx_phy_driver = {
.config_init = ar8xxx_phy_config_init,
.config_aneg = ar8xxx_phy_config_aneg,
.read_status = ar8xxx_phy_read_status,
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,1
6
,0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,1
4
,0)
.soft_reset = ar8xxx_phy_soft_reset,
#endif
.driver = { .owner = THIS_MODULE },