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

Commit 7b558637 authored by Michal Ostrowski's avatar Michal Ostrowski Committed by Greg KH
Browse files

[PATCH] debugfs: fix !debugfs prototypes



- Fix prototypes for debugfs functions (in configurations where
  debugfs is disabled).

Signed-off-by: default avatarMichal Ostrowski <mostrows@speakeasy.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a7a76cef
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -75,21 +75,21 @@ static inline struct dentry *debugfs_create_u8(const char *name, mode_t mode,

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);
}