aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-12-07 16:53:15 +0000
committerJohn Crispin <blogic@openwrt.org>2014-12-07 16:53:15 +0000
commit8807db20c18b1518938c4489e5c3895d8494d159 (patch)
treedc75dace9fc81e88f1ca04515e2e438e3da909e7 /target
parentbeecdee389cc9af001d55e2a838f8cffd1922af2 (diff)
downloadupstream-8807db20c18b1518938c4489e5c3895d8494d159.tar.gz
upstream-8807db20c18b1518938c4489e5c3895d8494d159.tar.bz2
upstream-8807db20c18b1518938c4489e5c3895d8494d159.zip
ar71xx: dev-eth: replace mdelay calls
Similar to patch 2. Replace further mdelay calls. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43540 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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++;