diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-01-09 03:18:19 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-18 05:07:13 +0400 |
commit | 36be126cb0ebe3000a65c1049f339a3e882a9a47 (patch) | |
tree | b86bf3d1b2970f25ae91470f17eeb2b8a23e37d7 /drivers/media | |
parent | a2e2baad60065614c48fee6f55479d6809b0ce83 (diff) | |
download | linux-36be126cb0ebe3000a65c1049f339a3e882a9a47.tar.xz |
[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')
-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> |