summaryrefslogtreecommitdiff
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2015-03-27 03:36:51 (GMT)
committerHonghua Yin <Hong-Hua.Yin@freescale.com>2015-03-27 08:47:50 (GMT)
commit3ddcad86ce9151ad3a9ecf8ece24cab3573f6d86 (patch)
tree52a633db6e314dd95820d7c3cf0d4f03009f1e2b /drivers/net/phy
parent554f5e2a32cd5b13627d1da10b11b242de046a70 (diff)
downloadlinux-fsl-qoriq-3ddcad86ce9151ad3a9ecf8ece24cab3573f6d86.tar.xz
net/phy: fix realtek compile issue on arm platform
include delay.h to fix compile issue on arm platform Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Change-Id: I1da95676894bbdb10d6173288a04cdcdb8f26642 Reviewed-on: http://git.am.freescale.net:8181/33659 Reviewed-by: Huan Wang <alison.wang@freescale.com> Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/realtek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c
index 67dd764..ab04bbd 100644
--- a/drivers/net/phy/realtek.c
+++ b/drivers/net/phy/realtek.c
@@ -15,6 +15,7 @@
*/
#include <linux/phy.h>
#include <linux/module.h>
+#include <linux/delay.h>
#define RTL821x_PHYSR 0x11
#define RTL821x_PHYSR_DUPLEX 0x2000