V4L/DVB: vivi and mem2mem_testdev need slab.h to build
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 7 May 2010 18:22:26 +0000 (15:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:59:18 +0000 (12:59 -0300)
commit6b46c3977cdb34a199bbca20ef67b1e13335c43d
tree2535dd1da4a74f8584f30dff444b62906d13e75c
parent3c7c5e9e8903f201bdbc85bdffba47a2d1352e4c
V4L/DVB: vivi and mem2mem_testdev need slab.h to build

Fix vivi and mem2mem_testdev build errors: need to #include <linux/slab.h>:

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 <randy.dunlap@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mem2mem_testdev.c
drivers/media/video/vivi.c