aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c
index 8dc0be41a3..ba79537b37 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c
@@ -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,
},
};