diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-08-21 22:41:23 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-08-22 16:27:58 +0200 |
commit | 9277738ddde993b01d4119f61b9e5cbdf8d47ab3 (patch) | |
tree | b0cbb4a4470e215d0b8ce247d18baee772a2c117 /drivers/hid/hid-picolcd_debugfs.c | |
parent | HID: picolcd: using vmalloc() requires the include of vmalloc.h (diff) | |
download | linux-9277738ddde993b01d4119f61b9e5cbdf8d47ab3.tar.xz linux-9277738ddde993b01d4119f61b9e5cbdf8d47ab3.zip |
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.c | 1 |
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" |