diff options
author | Alessandro Rubini <rubini@gnudd.com> | 2011-11-21 09:01:40 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-22 18:20:05 (GMT) |
commit | 03e099fbb0fbd8aaef9316e74790d9819c57c8ff (patch) | |
tree | 59b7f879bb52ed84820f1ae59633c69bee0deea9 | |
parent | 42b4d114b936f3f7da121823774a42e584bf09f9 (diff) | |
download | linux-fsl-qoriq-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>
-rw-r--r-- | fs/debugfs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c index fc98ec9..e0a3a59 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) |