summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlags49_h2/wl_main.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-09 09:36:29 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-09 09:36:29 -0800
commitcb7482bfecc9b72b94355881c9d1e2e1dfd48970 (patch)
treef62b9a12251792112c333277752509b02506847a /drivers/staging/wlags49_h2/wl_main.c
parentda61fde70e3f14269ee59554da7941e499f9364f (diff)
staging: wlags49_h2: remove custom ways of creating a module name
Just use KBUILD_MODNAME, don't try to hand-roll the same thing with odd logic. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlags49_h2/wl_main.c')
-rw-r--r--drivers/staging/wlags49_h2/wl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlags49_h2/wl_main.c b/drivers/staging/wlags49_h2/wl_main.c
index 093366b6ab1..632cebde985 100644
--- a/drivers/staging/wlags49_h2/wl_main.c
+++ b/drivers/staging/wlags49_h2/wl_main.c
@@ -400,7 +400,7 @@ static p_u32 pc_debug = DBG_LVL;
*/ p_u32 DebugFlag = ~0; //recognizable "undefined value" rather then DBG_DEFAULTS;
//MODULE_PARM(DebugFlag, "l");
-dbg_info_t wl_info = { DBG_MOD_NAME, 0, 0 };
+dbg_info_t wl_info = { KBUILD_MODNAME, 0, 0 };
dbg_info_t *DbgInfo = &wl_info;
#endif /* DBG */