aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videobuf2-vmalloc.c
diff options
context:
space:
mode:
authorNicolas THERY <nicolas.thery@st.com>2012-08-03 06:23:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-12 04:48:28 -0400
commitddb9fa25be0babd17952821f76897931b56d490f (patch)
tree509e090f116110110880686fb270434e7ec0c66a /drivers/media/video/videobuf2-vmalloc.c
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/videobuf2-vmalloc.c')
-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 6b5ca6c70a46..94efa04d8d55 100644
--- a/drivers/media/video/videobuf2-vmalloc.c
+++ b/drivers/media/video/videobuf2-vmalloc.c
@@ -18,6 +18,7 @@
18#include <linux/vmalloc.h> 18#include <linux/vmalloc.h>
19 19
20#include <media/videobuf2-core.h> 20#include <media/videobuf2-core.h>
21#include <media/videobuf2-vmalloc.h>
21#include <media/videobuf2-memops.h> 22#include <media/videobuf2-memops.h>
22 23
23struct vb2_vmalloc_buf { 24struct vb2_vmalloc_buf {