All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix v4l2-ctrls compilation
@ 2010-08-12 17:46 Meelis Roos
  0 siblings, 0 replies; only message in thread
From: Meelis Roos @ 2010-08-12 17:46 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media, Linux Kernel list

Current git has broken v4l2-ctrls compilation - kzalloc et al are 
missing prototypes. Fix it by including linux/slab.h that contains the 
definitions.

Signed-off-by: Meelis Roos <mroos@linux.ee>

diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c
index 84c1a53..ea8d32c 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>

-- 
Meelis Roos <mroos@linux.ee>

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-12 17:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-12 17:46 [PATCH] fix v4l2-ctrls compilation Meelis Roos

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.