tree 79c5c5882b448e252d4dd3a3e8bde3c522103192
parent a7a76cefc4b12bb6508afa4c77f11c2752cc365d
author Michal Ostrowski <[EMAIL PROTECTED]> Tue, 19 Apr 2005 11:57:34 -0700
committer Greg KH <[EMAIL PROTECTED]> Tue, 19 Apr 2005 11:57:34 -0700
[PATCH] debugfs: fix !debugfs prototypes
- Fix prototypes for debugfs functions (in configurations where
debugfs is disabled).
Signed-off-by: Michal Ostrowski <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
linux/debugfs.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: include/linux/debugfs.h
===================================================================
--- d9051a989583e172d662c15695906dc9fcb536f2/include/linux/debugfs.h
(mode:100644 sha1:dcf847cdb5cebf19adabf29befe08fdbe0cc6224)
+++ 79c5c5882b448e252d4dd3a3e8bde3c522103192/include/linux/debugfs.h
(mode:100644 sha1:a5fa6a6eede814ab502894736146fde295dee8c5)
@@ -75,21 +75,21 @@
static inline struct dentry *debugfs_create_u16(const char *name, mode_t mode,
struct dentry *parent,
- u8 *value)
+ u16 *value)
{
return ERR_PTR(-ENODEV);
}
static inline struct dentry *debugfs_create_u32(const char *name, mode_t mode,
struct dentry *parent,
- u8 *value)
+ u32 *value)
{
return ERR_PTR(-ENODEV);
}
static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode,
struct dentry *parent,
- u8 *value)
+ u32 *value)
{
return ERR_PTR(-ENODEV);
}
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html