diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-05-07 15:22:26 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 12:59:18 -0300 |
commit | 6b46c3977cdb34a199bbca20ef67b1e13335c43d (patch) | |
tree | 2535dd1da4a74f8584f30dff444b62906d13e75c /drivers/media | |
parent | 3c7c5e9e8903f201bdbc85bdffba47a2d1352e4c (diff) | |
download | kernel_samsung_tuna-6b46c3977cdb34a199bbca20ef67b1e13335c43d.zip kernel_samsung_tuna-6b46c3977cdb34a199bbca20ef67b1e13335c43d.tar.gz kernel_samsung_tuna-6b46c3977cdb34a199bbca20ef67b1e13335c43d.tar.bz2 |
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/mem2mem_testdev.c | 1 | ||||
-rw-r--r-- | drivers/media/video/vivi.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/mem2mem_testdev.c b/drivers/media/video/mem2mem_testdev.c index b161d26..554eaf1 100644 --- a/drivers/media/video/mem2mem_testdev.c +++ b/drivers/media/video/mem2mem_testdev.c @@ -22,6 +22,7 @@ #include <linux/version.h> #include <linux/timer.h> #include <linux/sched.h> +#include <linux/slab.h> #include <linux/platform_device.h> #include <media/v4l2-mem2mem.h> diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index d5e30b8..e17b6fe 100644 --- a/drivers/media/video/vivi.c +++ b/drivers/media/video/vivi.c @@ -17,6 +17,7 @@ #include <linux/kernel.h> #include <linux/init.h> #include <linux/sched.h> +#include <linux/slab.h> #include <linux/font.h> #include <linux/version.h> #include <linux/mutex.h> |