summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-02-12 08:38:25 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-15 23:31:55 -0800
commit359d8b1599050977771190cf938ef010e951ee04 (patch)
tree49dba745df16f3161a0027954b6a03ca6bbf57cd /drivers
parent8440d2b63667c7d09ccbe43b8bd928d3c4662879 (diff)
bnx2x: Moving includes
Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/bnx2x.h6
-rw-r--r--drivers/net/bnx2x_link.c4
-rw-r--r--drivers/net/bnx2x_main.c5
3 files changed, 7 insertions, 8 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index bec5aff649a..5eb35a66f23 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -29,6 +29,12 @@
#define BNX2X_NEW_NAPI
+
+#include "bnx2x_reg.h"
+#include "bnx2x_fw_defs.h"
+#include "bnx2x_hsi.h"
+#include "bnx2x_link.h"
+
/* error/debug prints */
#define DRV_MODULE_NAME "bnx2x"
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
index 39db995c698..5a17c7c9028 100644
--- a/drivers/net/bnx2x_link.c
+++ b/drivers/net/bnx2x_link.c
@@ -22,10 +22,6 @@
#include <linux/ethtool.h>
#include <linux/mutex.h>
-#include "bnx2x_reg.h"
-#include "bnx2x_fw_defs.h"
-#include "bnx2x_hsi.h"
-#include "bnx2x_link.h"
#include "bnx2x.h"
/********************************************************/
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 78f628a0783..3f8402750c7 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -50,10 +50,7 @@
#include <linux/zlib.h>
#include <linux/io.h>
-#include "bnx2x_reg.h"
-#include "bnx2x_fw_defs.h"
-#include "bnx2x_hsi.h"
-#include "bnx2x_link.h"
+
#include "bnx2x.h"
#include "bnx2x_init.h"