aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/net/ag71xx
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
commit0839b18e6f886f6085b663eb467b112f959f6fff (patch)
treeea7e7e0fdb34bdc27b603c0f0c5c91d42edf3723 /target/linux/ar71xx/files/drivers/net/ag71xx
parent7e0c585208a65e8e2d6ccc48a03edf3438acd7e4 (diff)
downloadmaster-187ad058-0839b18e6f886f6085b663eb467b112f959f6fff.tar.gz
master-187ad058-0839b18e6f886f6085b663eb467b112f959f6fff.tar.bz2
master-187ad058-0839b18e6f886f6085b663eb467b112f959f6fff.zip
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')
-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);