diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2012-08-16 01:20:10 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-08-16 06:04:26 -0400 |
commit | d1c60a0350a1840281d4de579af6c7665d7ed877 (patch) | |
tree | 378e1af94de1ae6661e1ac17341ace6ad8e877e5 /drivers/hid/hid-picolcd_fb.c | |
parent | efdbb10eaaede124fb32751e9aaf19d506301bd2 (diff) |
HID: picolcd: using vmalloc() requires the include of vmalloc.h
Fixes thes build errors:
drivers/hid/hid-picolcd_fb.c: In function 'picolcd_fb_destroy':
drivers/hid/hid-picolcd_fb.c:350:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
drivers/hid/hid-picolcd_fb.c: In function 'picolcd_init_framebuffer':
drivers/hid/hid-picolcd_fb.c:508:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
drivers/hid/hid-picolcd_fb.c:508:12: warning: assignment makes pointer from integer without a cast [enabled by default]
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-picolcd_fb.c')
-rw-r--r-- | drivers/hid/hid-picolcd_fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-picolcd_fb.c b/drivers/hid/hid-picolcd_fb.c index 4d8e22c73249..cf295c569170 100644 --- a/drivers/hid/hid-picolcd_fb.c +++ b/drivers/hid/hid-picolcd_fb.c | |||
@@ -18,6 +18,7 @@ | |||
18 | ***************************************************************************/ | 18 | ***************************************************************************/ |
19 | 19 | ||
20 | #include <linux/hid.h> | 20 | #include <linux/hid.h> |
21 | #include <linux/vmalloc.h> | ||
21 | #include "usbhid/usbhid.h" | 22 | #include "usbhid/usbhid.h" |
22 | #include <linux/usb.h> | 23 | #include <linux/usb.h> |
23 | 24 | ||