[media] as3645a: Fix compilation by including slab.h
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 8 Jan 2012 23:18:19 +0000 (20:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 18 Jan 2012 01:07:13 +0000 (23:07 -0200)
The as3645a driver calls kzalloc(). Include slab.h.

Reported-by: Fredrik Lingvall <fredrik.lingvall@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/as3645a.c

index ec859a580651e327475f0ce57f7faba7f5a1d26b..f241702a0f36442aa7e3ab1c8d9fe55213e00d78 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/i2c.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
+#include <linux/slab.h>
 
 #include <media/as3645a.h>
 #include <media/v4l2-ctrls.h>