summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/ar8216.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-11-27 18:26:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-11-27 18:26:06 +0000
commit14db2826ad4f96b141fd5696f9a680a116fa4c8b (patch)
tree5b886d419595993563e704261b1d0519d29c7426 /target/linux/generic/files/drivers/net/phy/ar8216.c
parent77e1a3675ad9d97ca6b564c759b2aaa6437c6d8b (diff)
downloadmaster-31e0f0ae-14db2826ad4f96b141fd5696f9a680a116fa4c8b.tar.gz
master-31e0f0ae-14db2826ad4f96b141fd5696f9a680a116fa4c8b.tar.bz2
master-31e0f0ae-14db2826ad4f96b141fd5696f9a680a116fa4c8b.zip
ar8216: suppress PHY reset for linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43410
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/ar8216.c')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c
index 5e93a1f75d..a4e2260e45 100644
--- 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,16,0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,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,16,0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)
.soft_reset = ar8xxx_phy_soft_reset,
#endif
.driver = { .owner = THIS_MODULE },