summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-08-09 14:56:35 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-12 15:08:05 -0300
commit2b80163c390b593bad313f64948993475bfd6069 (patch)
treeca02f0f17409c7389ec6b8c7e2fbc0a6ceccec0f /drivers/media
parent361be7b1d099b671e01ca56b59b1e8b8e9ce4771 (diff)
downloadlinux-riscv-2b80163c390b593bad313f64948993475bfd6069.tar.gz
linux-riscv-2b80163c390b593bad313f64948993475bfd6069.tar.bz2
linux-riscv-2b80163c390b593bad313f64948993475bfd6069.zip
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 <randy.dunlap@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/v4l2-ctrls.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/ctype.h>
+#include <linux/slab.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ctrls.h>