Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94e1dec7 authored by Jiaxing Wang's avatar Jiaxing Wang Committed by Greg Kroah-Hartman
Browse files

debugfs: Add stub function for debugfs_create_automount().



Add stub for debugfs_create_automount() for when debugfs is not configured
in.

Signed-off-by: default avatarJiaxing Wang <hello.wjx@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e56ed358
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -162,6 +162,14 @@ static inline struct dentry *debugfs_create_symlink(const char *name,
	return ERR_PTR(-ENODEV);
}

static inline struct dentry *debugfs_create_automount(const char *name,
					struct dentry *parent,
					struct vfsmount *(*f)(void *),
					void *data)
{
	return ERR_PTR(-ENODEV);
}

static inline void debugfs_remove(struct dentry *dentry)
{ }