summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-13 11:26:57 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-13 11:26:57 +0000
commit7571fae3abbeefc6eb9f6dd243edb04a589bd122 (patch)
treeea7e7e0fdb34bdc27b603c0f0c5c91d42edf3723 /target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
parent95d3699b736c21cb23b27589f2138cb396134db8 (diff)
ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
Also rename the corresponding callback functions. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29012 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c')
-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 2ba0150f43..9684b623b3 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);