switch debugfs to umode_t
[pandora-kernel.git] / arch / s390 / include / asm / debug.h
index 18124b7..9d88db1 100644 (file)
@@ -73,7 +73,7 @@ typedef struct debug_info {
        struct dentry* debugfs_entries[DEBUG_MAX_VIEWS];
        struct debug_view* views[DEBUG_MAX_VIEWS];      
        char name[DEBUG_MAX_NAME_LEN];
-       mode_t mode;
+       umode_t mode;
 } debug_info_t;
 
 typedef int (debug_header_proc_t) (debug_info_t* id,
@@ -124,7 +124,7 @@ debug_info_t *debug_register(const char *name, int pages, int nr_areas,
                              int buf_size);
 
 debug_info_t *debug_register_mode(const char *name, int pages, int nr_areas,
-                                 int buf_size, mode_t mode, uid_t uid,
+                                 int buf_size, umode_t mode, uid_t uid,
                                  gid_t gid);
 
 void debug_unregister(debug_info_t* id);