HID: picolcd: fix build failure
authorJiri Kosina <jkosina@suse.cz>
Thu, 1 Apr 2010 06:24:42 +0000 (08:24 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 1 Apr 2010 06:24:42 +0000 (08:24 +0200)
Using copy_{to,from}_user requires the include of linux/uaccess.h.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-picolcd.c

index 66f9cfd..0eacc6b 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/debugfs.h>
 
 #include <linux/completion.h>
+#include <linux/uaccess.h>
 
 #define PICOLCD_NAME "PicoLCD (graphic)"