diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-01-31 17:56:30 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-01-31 17:56:30 +0000 |
commit | 72b08b729a6d694880c557c2442b4413195373c3 (patch) | |
tree | 20aa45c62f087f58aa36296ae9adaa6fbb2b2143 /target/linux/ramips/files/drivers/net/ramips.c | |
parent | fb29bd369ac81d846170081479c3ebd0e3d020b1 (diff) | |
download | master-31e0f0ae-72b08b729a6d694880c557c2442b4413195373c3.tar.gz master-31e0f0ae-72b08b729a6d694880c557c2442b4413195373c3.tar.bz2 master-31e0f0ae-72b08b729a6d694880c557c2442b4413195373c3.zip |
ramips_eth: pass sys_clk via platform_data
SVN-Revision: 19462
Diffstat (limited to 'target/linux/ramips/files/drivers/net/ramips.c')
-rw-r--r-- | target/linux/ramips/files/drivers/net/ramips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files/drivers/net/ramips.c b/target/linux/ramips/files/drivers/net/ramips.c index d8be97c7a7..d3df2f2588 100644 --- a/target/linux/ramips/files/drivers/net/ramips.c +++ b/target/linux/ramips/files/drivers/net/ramips.c @@ -332,7 +332,7 @@ ramips_eth_open(struct net_device *dev) RAMIPS_PDMA_GLO_CFG); ramips_fe_wr((ramips_fe_rr(RAMIPS_FE_GLO_CFG) & ~(RAMIPS_US_CYC_CNT_MASK << RAMIPS_US_CYC_CNT_SHIFT)) | - ((rt305x_sys_freq / RAMIPS_US_CYC_CNT_DIVISOR) << RAMIPS_US_CYC_CNT_SHIFT), + ((priv->plat->sys_freq / RAMIPS_US_CYC_CNT_DIVISOR) << RAMIPS_US_CYC_CNT_SHIFT), RAMIPS_FE_GLO_CFG); tasklet_init(&priv->tx_housekeeping_tasklet, ramips_eth_tx_housekeeping, |