Skip to contentSkip to conversation

V4L/DVB: v4l2-ctrls: add inclusion of slab.h

PATCH New Christoph Fritz 1 participant 1 message Aug 11, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 V4L/DVB: v4l2-ctrls: add inclusion of slab.h

This patch adds inclusion of slab.h to get kzalloc, kfree and kmalloc to work.

---
 drivers/media/video/v4l2-ctrls.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/media/video/v4l2-ctrls.c +1 -0
index 84c1a53..ea8d32c 100644
@@ -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>
Signature · 1 line
1.7.1