summaryrefslogtreecommitdiff
path: root/fs/debugfs
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini@gnudd.com>2011-11-21 13:01:40 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-22 22:20:05 +0400
commit03e099fbb0fbd8aaef9316e74790d9819c57c8ff (patch)
tree59b7f879bb52ed84820f1ae59633c69bee0deea9 /fs/debugfs
parent42b4d114b936f3f7da121823774a42e584bf09f9 (diff)
downloadlinux-03e099fbb0fbd8aaef9316e74790d9819c57c8ff.tar.xz
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 fc98ec9e1d83..e0a3a59a6744 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)