diff mbox

[-next] media: vivi and mem2mem_testdev need slab.h to build

Message ID 20100507112226.f90494a2.randy.dunlap@oracle.com (mailing list archive)
State Accepted
Headers show

Commit Message

Randy Dunlap May 7, 2010, 6:22 p.m. UTC
None
diff mbox

Patch

--- linux-next-20100507.orig/drivers/media/video/vivi.c
+++ linux-next-20100507/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>
--- linux-next-20100507.orig/drivers/media/video/mem2mem_testdev.c
+++ linux-next-20100507/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>