module: initialize module dynamic debug later
[sfrench/cifs-2.6.git] / lib / dynamic_debug.c
index 3df8eb17a607932bf8091e89c796c338c323c29b..02afc25337284329d23a998e636240d5a41d337d 100644 (file)
@@ -692,7 +692,7 @@ static void ddebug_table_free(struct ddebug_table *dt)
  * Called in response to a module being unloaded.  Removes
  * any ddebug_table's which point at the module.
  */
-int ddebug_remove_module(char *mod_name)
+int ddebug_remove_module(const char *mod_name)
 {
        struct ddebug_table *dt, *nextdt;
        int ret = -ENOENT;