summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlags49_h2/debug.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-09 09:55:31 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-09 09:55:31 -0800
commit76f9a4280d71256272b8c3946a5e45a9e1d8f23b (patch)
tree74c3af03fcaa60bf06533c481a4a179d88fedf4e /drivers/staging/wlags49_h2/debug.h
parent3e1eb789601be29a96a076c381682f04cc5a2b5b (diff)
downloadop-kernel-dev-76f9a4280d71256272b8c3946a5e45a9e1d8f23b.zip
op-kernel-dev-76f9a4280d71256272b8c3946a5e45a9e1d8f23b.tar.gz
staging: wlags49_h2: debug.h: remove typedef for debug structure
Also move the variable definition into the .h file, so it doesn't have to be declared in each .c file individually, which is crazy. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlags49_h2/debug.h')
-rw-r--r--drivers/staging/wlags49_h2/debug.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/wlags49_h2/debug.h b/drivers/staging/wlags49_h2/debug.h
index 03d6836..40f6a3e 100644
--- a/drivers/staging/wlags49_h2/debug.h
+++ b/drivers/staging/wlags49_h2/debug.h
@@ -165,11 +165,13 @@
#C, __FILE__, __LINE__, __func__); \
} } while (0)
-typedef struct {
+struct dbg_info {
char *dbgName;
int dbgLevel;
unsigned long DebugFlag;
-} dbg_info_t;
+};
+
+extern struct dbg_info *DbgInfo;
/****************************************************************************/
OpenPOWER on IntegriCloud