X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fath79%2Ffiles%2Fdrivers%2Fnet%2Fethernet%2Fatheros%2Fag71xx%2Fag71xx.h;fp=target%2Flinux%2Fath79%2Ffiles%2Fdrivers%2Fnet%2Fethernet%2Fatheros%2Fag71xx%2Fag71xx.h;h=1955cd288f3c5e548ef8bdf8bc976e98c93676aa;hb=79a81d36ae60026624379a8d24ae3719ee2d149c;hp=5ff9439f0d11ada26dfe1440e36e356a06f3be56;hpb=00b194871cd82dfbaf678626e49816ab3a51ece8;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h index 5ff9439f0d..1955cd288f 100644 --- a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h +++ b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h @@ -178,11 +178,7 @@ struct ag71xx { struct phy_device *phy_dev; void *phy_priv; -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,10,0) phy_interface_t phy_if_mode; -#else - int phy_if_mode; -#endif unsigned int link; unsigned int speed;