From: Nicolas THERY Date: Fri, 3 Aug 2012 10:23:54 +0000 (-0300) Subject: [media] videobuf2: fix sparse warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ddb9fa25be0babd17952821f76897931b56d490f;p=openwrt%2Fstaging%2Fblogic.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 Signed-off-by: Mauro Carvalho Chehab --- 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 #include +#include #include struct vb2_vmalloc_buf {