summaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorNicolas THERY <nicolas.thery@st.com>2012-08-03 07:23:54 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-12 05:48:28 -0300
commitddb9fa25be0babd17952821f76897931b56d490f (patch)
tree509e090f116110110880686fb270434e7ec0c66a /drivers/media/video
parent1e9c14f7d2a8c29968266d3854f51f127d3b8b32 (diff)
[media] videobuf2: fix sparse warning
Fix "symbol 'vb2_vmalloc_memops' was not declared. Should it be static?" sparse warning. Signed-off-by: Nicolas Thery <nicolas.thery@st.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/videobuf2-vmalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/videobuf2-vmalloc.c b/drivers/media/video/videobuf2-vmalloc.c
index 6b5ca6c70a4..94efa04d8d5 100644
--- a/drivers/media/video/videobuf2-vmalloc.c
+++ b/drivers/media/video/videobuf2-vmalloc.c
@@ -18,6 +18,7 @@
#include <linux/vmalloc.h>
#include <media/videobuf2-core.h>
+#include <media/videobuf2-vmalloc.h>
#include <media/videobuf2-memops.h>
struct vb2_vmalloc_buf {