]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
debugfs: bugfix: include <linux/io.h> in file.c
authorAlessandro Rubini <rubini@gnudd.com>
Mon, 21 Nov 2011 09:01:40 +0000 (10:01 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Nov 2011 18:20:05 +0000 (10:20 -0800)
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>
fs/debugfs/file.c

index fc98ec9e1d832ecbdc0d18ae0d5b51faaa181cd7..e0a3a59a67449514a06df6a249f662ebb283ed3f 100644 (file)
@@ -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)