projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5376071
)
Fix "multiple definition of `debugfs_create_size_t'"
author
Linus Torvalds
<
[email protected]
>
Tue, 27 Jan 2009 03:21:26 +0000
(19:21 -0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 27 Jan 2009 03:21:26 +0000
(19:21 -0800)
Introduced by
8adb711f3668b034e7b956fac951ed08b53e0d55
("debugfs:
introduce stub for debugfs_create_size_t() when DEBUG_FS=n") and due to
a simple missing "static inline".
Reported-and-tested-by: Jeff Chua <
[email protected]
>
Acked-by: Greg KH <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/debugfs.h
patch
|
blob
|
history
diff --git
a/include/linux/debugfs.h
b/include/linux/debugfs.h
index 0f5c33b0bd3ef03e6230729a4fd15dae5fd68778..af0e01d4c663a101f48614e40d006ed6272d5c36 100644
(file)
--- a/
include/linux/debugfs.h
+++ b/
include/linux/debugfs.h
@@
-162,7
+162,7
@@
static inline struct dentry *debugfs_create_x32(const char *name, mode_t mode,
return ERR_PTR(-ENODEV);
}
-struct dentry *debugfs_create_size_t(const char *name, mode_t mode,
+st
atic inline st
ruct dentry *debugfs_create_size_t(const char *name, mode_t mode,
struct dentry *parent,
size_t *value)
{