aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-picolcd.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2010-04-01 02:24:42 -0400
committerJiri Kosina <jkosina@suse.cz>2010-04-01 02:24:42 -0400
commiteb741103f17a19fccf7c795ed1d9662196acc6e5 (patch)
tree8354b88b32cccd9c8cfc3764b3c7fcef5e155ede /drivers/hid/hid-picolcd.c
parent9bbf2b98ba11d00bd73e3254e15cfe17ccaff6ba (diff)
HID: picolcd: fix build failure
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>
Diffstat (limited to 'drivers/hid/hid-picolcd.c')
-rw-r--r--drivers/hid/hid-picolcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-picolcd.c b/drivers/hid/hid-picolcd.c
index 66f9cfd41abe..0eacc6b6d5bb 100644
--- a/drivers/hid/hid-picolcd.c
+++ b/drivers/hid/hid-picolcd.c
@@ -35,6 +35,7 @@
35#include <linux/debugfs.h> 35#include <linux/debugfs.h>
36 36
37#include <linux/completion.h> 37#include <linux/completion.h>
38#include <linux/uaccess.h>
38 39
39#define PICOLCD_NAME "PicoLCD (graphic)" 40#define PICOLCD_NAME "PicoLCD (graphic)"
40 41