From: Randy Dunlap Date: Fri, 7 May 2010 18:22:26 +0000 (-0300) Subject: V4L/DVB: vivi and mem2mem_testdev need slab.h to build X-Git-Tag: MMI-PSA29.97-13-9~23880^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6b46c3977cdb34a199bbca20ef67b1e13335c43d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git V4L/DVB: vivi and mem2mem_testdev need slab.h to build Fix vivi and mem2mem_testdev build errors: need to #include : drivers/media/video/vivi.c:1144: error: implicit declaration of function 'kfree' drivers/media/video/vivi.c:1156: error: implicit declaration of function 'kzalloc' drivers/media/video/vivi.c:1156: warning: assignment makes pointer from integer without a cast drivers/media/video/mem2mem_testdev.c:862: error: implicit declaration of function 'kzalloc' drivers/media/video/mem2mem_testdev.c:862: warning: assignment makes pointer from integer without a cast drivers/media/video/mem2mem_testdev.c:874: error: implicit declaration of function 'kfree' drivers/media/video/mem2mem_testdev.c:944: warning: assignment makes pointer from integer without a cast Signed-off-by: Randy Dunlap Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/mem2mem_testdev.c b/drivers/media/video/mem2mem_testdev.c index b161d26b0ddf..554eaf140128 100644 --- a/drivers/media/video/mem2mem_testdev.c +++ b/drivers/media/video/mem2mem_testdev.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index d5e30b85c559..e17b6fee046b 100644 --- a/drivers/media/video/vivi.c +++ b/drivers/media/video/vivi.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include