mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
1e9c14f7d2
commit
ddb9fa25be
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue