summaryrefslogtreecommitdiff
path: root/drivers/net/e1000.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-19 09:33:38 -0600
committerJoe Hershberger <joe.hershberger@ni.com>2015-08-21 16:32:32 -0500
commitc752cd2a30517c3a8c0742d807ce5053b747baa8 (patch)
treef3e75eac62d92abfa1a0afa85f23ab8a6e719135 /drivers/net/e1000.c
parent19a4fbaaddd6542b46120d786bc375aee1b9e257 (diff)
downloadu-boot-imx-c752cd2a30517c3a8c0742d807ce5053b747baa8.zip
u-boot-imx-c752cd2a30517c3a8c0742d807ce5053b747baa8.tar.gz
u-boot-imx-c752cd2a30517c3a8c0742d807ce5053b747baa8.tar.bz2
net: e1000: Move #include of common.h to the C files
We cannot currently include any header files in the C files since common.h needs to be included first, and it is in the header file. Move it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Apalis T30 2GB on Apalis Evaluation Board
Diffstat (limited to 'drivers/net/e1000.c')
-rw-r--r--drivers/net/e1000.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c
index e816410..187517b 100644
--- a/drivers/net/e1000.c
+++ b/drivers/net/e1000.c
@@ -29,6 +29,7 @@ tested on both gig copper and gig fiber boards
* Copyright 2011 Freescale Semiconductor, Inc.
*/
+#include <common.h>
#include "e1000.h"
#define TOUT_LOOP 100000