summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/as3645a.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-01-08 20:18:19 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-17 23:07:13 -0200
commit36be126cb0ebe3000a65c1049f339a3e882a9a47 (patch)
treeb86bf3d1b2970f25ae91470f17eeb2b8a23e37d7 /drivers/media/video/as3645a.c
parenta2e2baad60065614c48fee6f55479d6809b0ce83 (diff)
[media] as3645a: Fix compilation by including slab.h
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>
Diffstat (limited to 'drivers/media/video/as3645a.c')
-rw-r--r--drivers/media/video/as3645a.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/as3645a.c b/drivers/media/video/as3645a.c
index ec859a58065..f241702a0f3 100644
--- a/drivers/media/video/as3645a.c
+++ b/drivers/media/video/as3645a.c
@@ -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>