make sure that we always have a return path from kernel_execve()
[linux-3.10.git] / net / wimax / debugfs.c
index 87cf443..6c9bedb 100644 (file)
 #include "debug-levels.h"
 
 
-/* Debug framework control of debug levels */
-struct d_level D_LEVEL[] = {
-       D_SUBMODULE_DEFINE(debugfs),
-       D_SUBMODULE_DEFINE(id_table),
-       D_SUBMODULE_DEFINE(op_msg),
-       D_SUBMODULE_DEFINE(op_reset),
-       D_SUBMODULE_DEFINE(op_rfkill),
-       D_SUBMODULE_DEFINE(stack),
-};
-size_t D_LEVEL_SIZE = ARRAY_SIZE(D_LEVEL);
-
 #define __debugfs_register(prefix, name, parent)                       \
 do {                                                                   \
        result = d_level_register_debugfs(prefix, name, parent);        \
@@ -72,6 +61,7 @@ int wimax_debugfs_add(struct wimax_dev *wimax_dev)
        __debugfs_register("wimax_dl_", op_msg, dentry);
        __debugfs_register("wimax_dl_", op_reset, dentry);
        __debugfs_register("wimax_dl_", op_rfkill, dentry);
+       __debugfs_register("wimax_dl_", op_state_get, dentry);
        __debugfs_register("wimax_dl_", stack, dentry);
        result = 0;
 out: