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 = { \
5454 .llseek = no_llseek, \
5555}
5656
57+ typedef struct vfsmount * (* debugfs_automount_t )(struct dentry * , void * );
58+
5759#if defined(CONFIG_DEBUG_FS )
5860
5961struct dentry * debugfs_lookup (const char * name , struct dentry * parent );
@@ -75,7 +77,6 @@ struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
7577struct dentry * debugfs_create_symlink (const char * name , struct dentry * parent ,
7678 const char * dest );
7779
78- typedef struct vfsmount * (* debugfs_automount_t )(struct dentry * , void * );
7980struct dentry * debugfs_create_automount (const char * name ,
8081 struct dentry * parent ,
8182 debugfs_automount_t f ,
@@ -203,7 +204,7 @@ static inline struct dentry *debugfs_create_symlink(const char *name,
203204
204205static inline struct dentry * debugfs_create_automount (const char * name ,
205206 struct dentry * parent ,
206- struct vfsmount * ( * f )( void * ) ,
207+ debugfs_automount_t f ,
207208 void * data )
208209{
209210 return ERR_PTR (- ENODEV );
You can’t perform that action at this time.
0 commit comments