diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-01-09 00:18:19 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-18 02:07:13 +0100 |
commit | 36be126cb0ebe3000a65c1049f339a3e882a9a47 (patch) | |
tree | b86bf3d1b2970f25ae91470f17eeb2b8a23e37d7 /drivers | |
parent | [media] s5p-fimc: Remove linux/version.h include from fimc-mdevice.c (diff) | |
download | linux-36be126cb0ebe3000a65c1049f339a3e882a9a47.tar.xz linux-36be126cb0ebe3000a65c1049f339a3e882a9a47.zip |
[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')
-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> |