Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309
b: refs/heads/master
c: a7a76ce
h: refs/heads/master
i:
  307: 4415a59
v: v3
  • Loading branch information
Roland Dreier authored and Greg KH committed Apr 19, 2005
1 parent 80b77c2 commit 58698c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1694145854a309bebd12a5cce63c9b398304e3bb
refs/heads/master: a7a76cefc4b12bb6508afa4c77f11c2752cc365d
7 changes: 7 additions & 0 deletions trunk/include/linux/debugfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

#include <linux/fs.h>

#include <linux/types.h>

struct file_operations;

#if defined(CONFIG_DEBUG_FS)
struct dentry *debugfs_create_file(const char *name, mode_t mode,
struct dentry *parent, void *data,
Expand All @@ -36,6 +40,9 @@ struct dentry *debugfs_create_bool(const char *name, mode_t mode,
struct dentry *parent, u32 *value);

#else

#include <linux/err.h>

/*
* We do not return NULL from these functions if CONFIG_DEBUG_FS is not enabled
* so users have a chance to detect if there was a real error or not. We don't
Expand Down

0 comments on commit 58698c4

Please sign in to comment.