diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-04-01 08:24:42 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-04-01 08:24:42 +0200 |
commit | eb741103f17a19fccf7c795ed1d9662196acc6e5 (patch) | |
tree | 8354b88b32cccd9c8cfc3764b3c7fcef5e155ede /drivers/hid | |
parent | HID: add experimental access to PicoLCD device's EEPROM and FLASH (diff) | |
download | linux-eb741103f17a19fccf7c795ed1d9662196acc6e5.tar.xz linux-eb741103f17a19fccf7c795ed1d9662196acc6e5.zip |
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')
-rw-r--r-- | drivers/hid/hid-picolcd.c | 1 |
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 @@ #include <linux/debugfs.h> #include <linux/completion.h> +#include <linux/uaccess.h> #define PICOLCD_NAME "PicoLCD (graphic)" |