From: Stephen Rothwell Date: Thu, 16 Aug 2012 05:20:10 +0000 (+1000) Subject: HID: picolcd: using vmalloc() requires the include of vmalloc.h X-Git-Tag: firefly_0821_release~3680^2~2006^2~2^4~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d1c60a0350a1840281d4de579af6c7665d7ed877;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Jiri Kosina --- 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 @@ ***************************************************************************/ #include +#include #include "usbhid/usbhid.h" #include