Skip to content

Commit

Permalink
debugfs: bugfix: include <linux/io.h> in file.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alessandro Rubini authored and Greg Kroah-Hartman committed Nov 22, 2011
1 parent 42b4d11 commit 03e099f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/debugfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 03e099f

Please sign in to comment.