提交 03e099fb 编写于 作者: A Alessandro Rubini 提交者: Greg Kroah-Hartman

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: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NAlessandro Rubini <rubini@gnudd.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 42b4d114
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册