aboutsummaryrefslogtreecommitdiffstats
diff options
-rw-r--r--driver-core.current/debugfs-introduce-stub-for-debugfs_create_size_t-when-debug_fs-n.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/driver-core.current/debugfs-introduce-stub-for-debugfs_create_size_t-when-debug_fs-n.patch b/driver-core.current/debugfs-introduce-stub-for-debugfs_create_size_t-when-debug_fs-n.patch
index 7610c1a8b51d5f..70fe7e45c944c9 100644
--- a/driver-core.current/debugfs-introduce-stub-for-debugfs_create_size_t-when-debug_fs-n.patch
+++ b/driver-core.current/debugfs-introduce-stub-for-debugfs_create_size_t-when-debug_fs-n.patch
@@ -24,18 +24,19 @@ Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
- include/linux/debugfs.h | 7 +++++++
- 1 file changed, 7 insertions(+)
+ include/linux/debugfs.h | 8 ++++++++
+ 1 file changed, 8 insertions(+)
--- a/include/linux/debugfs.h
+++ b/include/linux/debugfs.h
-@@ -162,6 +162,13 @@ static inline struct dentry *debugfs_cre
+@@ -162,6 +162,14 @@ static inline struct dentry *debugfs_cre
return ERR_PTR(-ENODEV);
}
-+struct dentry *debugfs_create_size_t(const char *name, mode_t mode,
-+ struct dentry *parent,
-+ size_t *value)
++static inline struct dentry *debugfs_create_size_t(const char *name,
++ mode_t mode,
++ struct dentry *parent,
++ size_t *value)
+{
+ return ERR_PTR(-ENODEV);
+}