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-Tag: firefly_0821_release~9833^2~774^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2b80163c390b593bad313f64948993475bfd6069;p=firefly-linux-kernel-4.4.55.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 84c1a53a727a..ea8d32cd425d 100644 --- a/drivers/media/video/v4l2-ctrls.c +++ b/drivers/media/video/v4l2-ctrls.c @@ -19,6 +19,7 @@ */ #include +#include #include #include #include