projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e56ed35
)
debugfs: Add stub function for debugfs_create_automount().
author
Jiaxing Wang
<hello.wjx@gmail.com>
Sun, 22 Nov 2015 08:05:10 +0000
(16:05 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 06:26:47 +0000
(22:26 -0800)
Add stub for debugfs_create_automount() for when debugfs is not configured
in.
Signed-off-by: Jiaxing Wang <hello.wjx@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/debugfs.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/debugfs.h
b/include/linux/debugfs.h
index 19c066dce1dab2e0a4dfab9f2851d6998d0f8716..981e53ab84e8e9d48948967d6a98bc90977df9cc 100644
(file)
--- a/
include/linux/debugfs.h
+++ b/
include/linux/debugfs.h
@@
-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)
{ }