ar71xx: dev-eth: replace mdelay calls
authorJohn Crispin <john@openwrt.org>
Sun, 7 Dec 2014 16:53:15 +0000 (16:53 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 7 Dec 2014 16:53:15 +0000 (16:53 +0000)
Similar to patch 2. Replace further mdelay calls.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43540

target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c

index f106e22731fa15f1c55502df1e8f5de6c638eb78..c6842aad382331c77f84250232bb99d2e4a694e4 100644 (file)
@@ -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++;