Commit 7667f5e4 authored by Jeff Garzik's avatar Jeff Garzik

[netdrvr s2io] make debug_level variable static

Fixes 'make allyesconfig' build conflict with infiniband, which
also has a global variable named 'debug_level'.
parent 576315fa
...@@ -61,7 +61,7 @@ typedef enum xena_max_outstanding_splits { ...@@ -61,7 +61,7 @@ typedef enum xena_max_outstanding_splits {
#define INTR_DBG 4 #define INTR_DBG 4
/* Global variable that defines the present debug level of the driver. */ /* Global variable that defines the present debug level of the driver. */
int debug_level = ERR_DBG; /* Default level. */ static int debug_level = ERR_DBG; /* Default level. */
/* DEBUG message print. */ /* DEBUG message print. */
#define DBG_PRINT(dbg_level, args...) if(!(debug_level<dbg_level)) printk(args) #define DBG_PRINT(dbg_level, args...) if(!(debug_level<dbg_level)) printk(args)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment