debugfs: Pass bool pointer to debugfs_create_bool()
[firefly-linux-kernel-4.4.55.git] / Documentation / filesystems / debugfs.txt
index 463f595733e8876b5bb1fa65c8d7151e8ece7fd5..4f45f71149cb4fea7d5ad4fd502836f5374e2f90 100644 (file)
@@ -105,7 +105,7 @@ a variable of type size_t.
 Boolean values can be placed in debugfs with:
 
     struct dentry *debugfs_create_bool(const char *name, umode_t mode,
-                                      struct dentry *parent, u32 *value);
+                                      struct dentry *parent, bool *value);
 
 A read on the resulting file will yield either Y (for non-zero values) or
 N, followed by a newline.  If written to, it will accept either upper- or