File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ static const struct file_operations __fops = { \
54
54
.llseek = no_llseek, \
55
55
}
56
56
57
+ typedef struct vfsmount * (* debugfs_automount_t )(struct dentry * , void * );
58
+
57
59
#if defined(CONFIG_DEBUG_FS )
58
60
59
61
struct dentry * debugfs_lookup (const char * name , struct dentry * parent );
@@ -75,7 +77,6 @@ struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
75
77
struct dentry * debugfs_create_symlink (const char * name , struct dentry * parent ,
76
78
const char * dest );
77
79
78
- typedef struct vfsmount * (* debugfs_automount_t )(struct dentry * , void * );
79
80
struct dentry * debugfs_create_automount (const char * name ,
80
81
struct dentry * parent ,
81
82
debugfs_automount_t f ,
@@ -203,7 +204,7 @@ static inline struct dentry *debugfs_create_symlink(const char *name,
203
204
204
205
static inline struct dentry * debugfs_create_automount (const char * name ,
205
206
struct dentry * parent ,
206
- struct vfsmount * ( * f )( void * ) ,
207
+ debugfs_automount_t f ,
207
208
void * data )
208
209
{
209
210
return ERR_PTR (- ENODEV );
You can’t perform that action at this time.
0 commit comments