Author: nbd Date: 2014-11-27 19:26:06 +0100 (Thu, 27 Nov 2014) New Revision: 43410
Modified: trunk/target/linux/generic/files/drivers/net/phy/ar8216.c Log: ar8216: suppress PHY reset for linux 3.14 Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/target/linux/generic/files/drivers/net/phy/ar8216.c =================================================================== --- trunk/target/linux/generic/files/drivers/net/phy/ar8216.c 2014-11-27 18:26:00 UTC (rev 43409) +++ trunk/target/linux/generic/files/drivers/net/phy/ar8216.c 2014-11-27 18:26:06 UTC (rev 43410) @@ -3043,7 +3043,7 @@ 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 @@ .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 }, _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
