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 f2491fa..15c22f2 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/debugfs.h>
 
 #include <linux/module.h>
+#include <linux/uaccess.h>
 
 #include "hid-picolcd.h"