diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-09 09:55:31 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-09 09:55:31 -0800 |
commit | 76f9a4280d71256272b8c3946a5e45a9e1d8f23b (patch) | |
tree | 74c3af03fcaa60bf06533c481a4a179d88fedf4e /drivers/staging/wlags49_h2/debug.h | |
parent | 3e1eb789601be29a96a076c381682f04cc5a2b5b (diff) | |
download | op-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.h | 6 |
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; /****************************************************************************/ |