提交 c752cd2a 编写于 作者: S Simon Glass 提交者: Joe Hershberger

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: NSimon Glass <sjg@chromium.org>
Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
Tested-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-on: Apalis T30 2GB on Apalis Evaluation Board
上级 19a4fbaa
......@@ -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
......
......@@ -19,7 +19,6 @@
#ifndef _E1000_HW_H_
#define _E1000_HW_H_
#include <common.h>
#include <linux/list.h>
#include <malloc.h>
#include <net.h>
......
#include <common.h>
#include "e1000.h"
#include <linux/compiler.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册