ar71xx: add v4.14 support
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-cf-e316n-v2.c
index 587e66d..82174ba 100644 (file)
@@ -243,7 +243,7 @@ static struct ar8327_platform_data cf_e375ac_ar8337_data = {
 static struct mdio_board_info cf_e375ac_mdio0_info[] = {
        {
                .bus_id = "ag71xx-mdio.0",
-               .phy_addr = 0,
+               .mdio_addr = 0,
                .platform_data = &cf_e375ac_ar8337_data,
        },
 };
@@ -323,7 +323,7 @@ static struct at803x_platform_data cf_e380ac_v1v2_at803x_data = {
 static struct mdio_board_info cf_e380ac_v1v2_mdio0_info[] = {
        {
                .bus_id = "ag71xx-mdio.0",
-               .phy_addr = 0,
+               .mdio_addr = 0,
                .platform_data = &cf_e380ac_v1v2_at803x_data,
        },
 };
@@ -681,7 +681,7 @@ static struct ar8327_platform_data cf_e385ac_qca8337_data = {
 static struct mdio_board_info cf_e385ac_mdio0_info[] = {
        {
                .bus_id = "ag71xx-mdio.0",
-               .phy_addr = 0,
+               .mdio_addr = 0,
                .platform_data = &cf_e385ac_qca8337_data,
        },
 };