diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2010-07-27 12:33:43 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-27 20:35:40 -0700 |
commit | b0efbb996e8554ed8fe59e3f79e0bc83218083ab (patch) | |
tree | 06d9b551bd7d5fd166cf49a270b8232243ad390f /drivers/net/bnx2x/bnx2x_main.c | |
parent | 5d7cd49622af9396643f8d2c5ed17039d89fef14 (diff) |
bnx2x: move global variable load_count to bnx2x.h
This will allow access to this global variable (used in no-mcp
mode) from different object files.
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_main.c')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/bnx2x/bnx2x_main.c b/drivers/net/bnx2x/bnx2x_main.c index 1e0ac8bb246..0beaefb7a16 100644 --- a/drivers/net/bnx2x/bnx2x_main.c +++ b/drivers/net/bnx2x/bnx2x_main.c @@ -51,7 +51,7 @@ #include <linux/io.h> #include <linux/stringify.h> - +#define BNX2X_MAIN #include "bnx2x.h" #include "bnx2x_init.h" #include "bnx2x_init_ops.h" @@ -121,8 +121,6 @@ static int debug; module_param(debug, int, 0); MODULE_PARM_DESC(debug, " Default debug msglevel"); -static int load_count[3]; /* 0-common, 1-port0, 2-port1 */ - static struct workqueue_struct *bnx2x_wq; enum bnx2x_board_type { |