aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/net
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-13 11:26:57 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-11-13 11:26:57 +0000
commit93cd46be133c90531a201eab9dca9c093a47feff (patch)
treeae4eccd041f40c5d6497f4990237898ca3828b07 /target/linux/ar71xx/files/drivers/net
parent9579bb426798fca0442bd5a3f03dfb89c928ee27 (diff)
downloadupstream-93cd46be133c90531a201eab9dca9c093a47feff.tar.gz
upstream-93cd46be133c90531a201eab9dca9c093a47feff.tar.bz2
upstream-93cd46be133c90531a201eab9dca9c093a47feff.zip
ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
Also rename the corresponding callback functions. SVN-Revision: 29012
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net')
-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);