HID: picolcd: Add missing #include <linux/uaccess.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 21 Aug 2012 20:41:23 +0000 (22:41 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 22 Aug 2012 14:27:58 +0000 (16:27 +0200)
m68k/allmodconfig:

drivers/hid/hid-picolcd_debugfs.c: In function ‘picolcd_debug_reset_write’:
drivers/hid/hid-picolcd_debugfs.c:54: error: implicit declaration of function ‘copy_from_user’
drivers/hid/hid-picolcd_debugfs.c: In function ‘picolcd_debug_eeprom_read’:
drivers/hid/hid-picolcd_debugfs.c:112: error: implicit declaration of function ‘copy_to_user’

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-picolcd_debugfs.c

index f2491fa53e2fc2d5a8b2080802763119b913c790..15c22f2ee748e78bc231c10b604aeeb420c462d9 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/debugfs.h>
 
 #include <linux/module.h>
+#include <linux/uaccess.h>
 
 #include "hid-picolcd.h"