Skip to content

Commit 03e099f

Browse files
rubinigregkh
authored andcommitted
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>
1 parent 42b4d11 commit 03e099f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎fs/debugfs/file.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <linux/pagemap.h>
2020
#include <linux/namei.h>
2121
#include <linux/debugfs.h>
22+
#include <linux/io.h>
2223

2324
static ssize_t default_read_file(struct file *file, char __user *buf,
2425
size_t count, loff_t *ppos)

0 commit comments

Comments
 (0)