提交 eb741103 编写于 作者: J Jiri Kosina

HID: picolcd: fix build failure

Using copy_{to,from}_user requires the include of linux/uaccess.h.
Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 9bbf2b98
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/completion.h> #include <linux/completion.h>
#include <linux/uaccess.h>
#define PICOLCD_NAME "PicoLCD (graphic)" #define PICOLCD_NAME "PicoLCD (graphic)"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册