aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-12-07 16:53:15 +0000
committerJohn Crispin <john@openwrt.org>2014-12-07 16:53:15 +0000
commit3572657c5ab7ee73cc0f80f40a7787d2bffca58c (patch)
tree5d1a5350624639d84c02acb5f250bc6aeb08a67f /target/linux/ar71xx/files/arch
parent59e7999a440be5cb229cba87b3a0fb8392b094da (diff)
downloadupstream-3572657c5ab7ee73cc0f80f40a7787d2bffca58c.tar.gz
upstream-3572657c5ab7ee73cc0f80f40a7787d2bffca58c.tar.bz2
upstream-3572657c5ab7ee73cc0f80f40a7787d2bffca58c.zip
ar71xx: dev-eth: replace mdelay calls
Similar to patch 2. Replace further mdelay calls. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 43540
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
index f106e22731..c6842aad38 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
@@ -1113,10 +1113,10 @@ void __init ath79_register_eth(unsigned int id)
/* Reset the device */
ath79_device_reset_set(pdata->reset_bit);
- mdelay(100);
+ msleep(100);
ath79_device_reset_clear(pdata->reset_bit);
- mdelay(100);
+ msleep(100);
platform_device_register(pdev);
ath79_eth_instance++;