瀏覽代碼

ar71xx: dev-eth: replace mdelay calls

Similar to patch 2. Replace further mdelay calls.

Signed-off-by: Heiner Kallweit <[email protected]>

SVN-Revision: 43540
John Crispin 11 年之前
父節點
當前提交
3572657c5a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c

+ 2 - 2
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 */
 	/* Reset the device */
 	ath79_device_reset_set(pdata->reset_bit);
 	ath79_device_reset_set(pdata->reset_bit);
-	mdelay(100);
+	msleep(100);
 
 
 	ath79_device_reset_clear(pdata->reset_bit);
 	ath79_device_reset_clear(pdata->reset_bit);
-	mdelay(100);
+	msleep(100);
 
 
 	platform_device_register(pdev);
 	platform_device_register(pdev);
 	ath79_eth_instance++;
 	ath79_eth_instance++;