From: Randy Dunlap Date: Mon, 9 Aug 2010 17:56:35 +0000 (-0300) Subject: V4L/DVB: v4l2-ctrls.c: needs to include slab.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2b80163c390b593bad313f64948993475bfd6069;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git V4L/DVB: v4l2-ctrls.c: needs to include slab.h v4l2-ctrls.c needs to include slab.h to prevent build errors: drivers/media/video/v4l2-ctrls.c:766: error: implicit declaration of function 'kzalloc' drivers/media/video/v4l2-ctrls.c:786: error: implicit declaration of function 'kfree' drivers/media/video/v4l2-ctrls.c:1528: error: implicit declaration of function 'kmalloc' Signed-off-by: Randy Dunlap Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index 84c1a53a727..ea8d32cd425 100644 --- a/drivers/media/video/v4l2-ctrls.c +++ b/drivers/media/video/v4l2-ctrls.c @@ -19,6 +19,7 @@ */ #include +#include #include #include #include