summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-picolcd_debugfs.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-08-22 00:41:23 +0400
committerJiri Kosina <jkosina@suse.cz>2012-08-22 18:27:58 +0400
commit9277738ddde993b01d4119f61b9e5cbdf8d47ab3 (patch)
treeb0cbb4a4470e215d0b8ce247d18baee772a2c117 /drivers/hid/hid-picolcd_debugfs.c
parentd1c60a0350a1840281d4de579af6c7665d7ed877 (diff)
downloadlinux-9277738ddde993b01d4119f61b9e5cbdf8d47ab3.tar.xz
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>
Diffstat (limited to 'drivers/hid/hid-picolcd_debugfs.c')
-rw-r--r--drivers/hid/hid-picolcd_debugfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-picolcd_debugfs.c b/drivers/hid/hid-picolcd_debugfs.c
index f2491fa53e2f..15c22f2ee748 100644
--- a/drivers/hid/hid-picolcd_debugfs.c
+++ b/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"