ar71xx: add missing include for checking kernel version
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-ubnt-xm.c
index 8dc0be41a3a4c112246eac5046769687bc4fa114..ba79537b37c1a70c76d2d0bba72132b6f42af2ae 100644 (file)
@@ -342,7 +342,7 @@ static struct ar8327_platform_data uap_pro_ar8327_data = {
 static struct mdio_board_info uap_pro_mdio0_info[] = {
        {
                .bus_id = "ag71xx-mdio.0",
-               .phy_addr = 0,
+               .mdio_addr = 0,
                .platform_data = &uap_pro_ar8327_data,
        },
 };
@@ -489,7 +489,7 @@ static struct at803x_platform_data ubnt_loco_m_xw_at803x_data = {
 static struct mdio_board_info ubnt_loco_m_xw_mdio_info[] = {
        {
                .bus_id = "ag71xx-mdio.0",
-               .phy_addr = 1,
+               .mdio_addr = 1,
                .platform_data = &ubnt_loco_m_xw_at803x_data,
        },
 };
@@ -596,7 +596,7 @@ static struct at803x_platform_data ubnt_rocket_m_ti_at803_data = {
 static struct mdio_board_info ubnt_rocket_m_ti_mdio_info[] = {
         {
                 .bus_id = "ag71xx-mdio.0",
-                .phy_addr = 4,
+                .mdio_addr = 4,
                 .platform_data = &ubnt_rocket_m_ti_at803_data,
         },
 };