[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.SOC.1.00.1008122042270.24365@math.ut.ee>
Date: Thu, 12 Aug 2010 20:46:07 +0300 (EEST)
From: Meelis Roos <mroos@...ux.ee>
To: Mauro Carvalho Chehab <mchehab@...radead.org>
cc: linux-media@...r.kernel.org,
Linux Kernel list <linux-kernel@...r.kernel.org>
Subject: [PATCH] fix v4l2-ctrls compilation
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@...ux.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@...ux.ee>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists