Ver código fonte

bnx2x: Moving includes

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Eilon Greenstein 16 anos atrás
pai
commit
359d8b1599
3 arquivos alterados com 7 adições e 8 exclusões
  1. 6 0
      drivers/net/bnx2x.h
  2. 0 4
      drivers/net/bnx2x_link.c
  3. 1 4
      drivers/net/bnx2x_main.c

+ 6 - 0
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"

+ 0 - 4
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"
 
 /********************************************************/

+ 1 - 4
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"