summaryrefslogtreecommitdiffstats
path: root/fs/debugfs
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini@gnudd.com>2011-11-21 10:01:40 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-22 10:20:05 -0800
commit03e099fbb0fbd8aaef9316e74790d9819c57c8ff (patch)
tree59b7f879bb52ed84820f1ae59633c69bee0deea9 /fs/debugfs
parent42b4d114b936f3f7da121823774a42e584bf09f9 (diff)
debugfs: bugfix: include <linux/io.h> in file.c
The regs32 machinery uses readl. I forgot the mandatory include and the code was not compiling on all archs. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Alessandro Rubini <rubini@gnudd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/debugfs')
-rw-r--r--fs/debugfs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c
index fc98ec9e1d8..e0a3a59a674 100644
--- a/fs/debugfs/file.c
+++ b/fs/debugfs/file.c
@@ -19,6 +19,7 @@
#include <linux/pagemap.h>
#include <linux/namei.h>
#include <linux/debugfs.h>
+#include <linux/io.h>
static ssize_t default_read_file(struct file *file, char __user *buf,
size_t count, loff_t *ppos)