Browse Source

HID: picolcd: Add missing #include <linux/uaccess.h>

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>
Geert Uytterhoeven 13 years ago
parent
commit
9277738ddd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/hid/hid-picolcd_debugfs.c

+ 1 - 0
drivers/hid/hid-picolcd_debugfs.c

@@ -27,6 +27,7 @@
 #include <linux/debugfs.h>
 
 #include <linux/module.h>
+#include <linux/uaccess.h>
 
 #include "hid-picolcd.h"