summaryrefslogtreecommitdiffstats
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 19:20:05 +0100
commit03e099fbb0fbd8aaef9316e74790d9819c57c8ff (patch)
tree59b7f879bb52ed84820f1ae59633c69bee0deea9
parentusb: dwc3: fix a warning (diff)
downloadlinux-03e099fbb0fbd8aaef9316e74790d9819c57c8ff.tar.xz
linux-03e099fbb0fbd8aaef9316e74790d9819c57c8ff.zip
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>
-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)