summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
index 2ba0150f4..9684b623b 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
@@ -583,8 +583,8 @@ void ag71xx_link_adjust(struct ag71xx *ag)
else
ag71xx_wr(ag, AG71XX_REG_FIFO_CFG3, 0x008001ff);
- if (pdata->set_pll)
- pdata->set_pll(ag->speed);
+ if (pdata->set_speed)
+ pdata->set_speed(ag->speed);
ag71xx_mii_ctrl_set_speed(ag, mii_speed);