diff options
author | Nicolas THERY <nicolas.thery@st.com> | 2012-08-03 07:23:54 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-12 05:48:28 -0300 |
commit | ddb9fa25be0babd17952821f76897931b56d490f (patch) | |
tree | 509e090f116110110880686fb270434e7ec0c66a /drivers/media/video | |
parent | 1e9c14f7d2a8c29968266d3854f51f127d3b8b32 (diff) | |
download | linux-ddb9fa25be0babd17952821f76897931b56d490f.tar.gz linux-ddb9fa25be0babd17952821f76897931b56d490f.tar.xz |
[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.c | 1 |
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 @@ #include <linux/vmalloc.h> #include <media/videobuf2-core.h> +#include <media/videobuf2-vmalloc.h> #include <media/videobuf2-memops.h> struct vb2_vmalloc_buf { |