From 359d8b1599050977771190cf938ef010e951ee04 Mon Sep 17 00:00:00 2001 From: Eilon Greenstein Date: Thu, 12 Feb 2009 08:38:25 +0000 Subject: [PATCH] bnx2x: Moving includes Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- drivers/net/bnx2x.h | 6 ++++++ drivers/net/bnx2x_link.c | 4 ---- drivers/net/bnx2x_main.c | 5 +---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index bec5aff649a7..5eb35a66f23e 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 39db995c6985..5a17c7c90286 100644 --- a/drivers/net/bnx2x_link.c +++ b/drivers/net/bnx2x_link.c @@ -22,10 +22,6 @@ #include #include -#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 78f628a07839..3f8402750c7a 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c @@ -50,10 +50,7 @@ #include #include -#include "bnx2x_reg.h" -#include "bnx2x_fw_defs.h" -#include "bnx2x_hsi.h" -#include "bnx2x_link.h" + #include "bnx2x.h" #include "bnx2x_init.h" -- 2.20.1