diff options
author | Laurent Pinchart | 2012-01-08 20:18:19 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab | 2012-01-17 23:07:13 -0200 |
commit | 36be126cb0ebe3000a65c1049f339a3e882a9a47 (patch) | |
tree | b86bf3d1b2970f25ae91470f17eeb2b8a23e37d7 | |
parent | a2e2baad60065614c48fee6f55479d6809b0ce83 (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>
-rw-r--r-- | drivers/media/video/as3645a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/as3645a.c b/drivers/media/video/as3645a.c index ec859a580651..f241702a0f36 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> |