linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for 3.6] videobuf2: fix sparse warning
@ 2012-08-03 11:23 Nicolas THERY
  0 siblings, 0 replies; only message in thread
From: Nicolas THERY @ 2012-08-03 11:23 UTC (permalink / raw)
  To: linux-media@vger.kernel.org,
	"pawel@osciak.com" <Pawel 

Fix "symbol 'vb2_vmalloc_memops' was not declared. Should it be static?"
sparse warning.

Signed-off-by: Nicolas Thery <nicolas.thery@st.com>
---
 drivers/media/video/videobuf2-vmalloc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/video/videobuf2-vmalloc.c b/drivers/media/video/videobuf2-vmalloc.c
index 6b5ca6c..94efa04 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 {
-- 
1.7.11.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-03 11:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-03 11:23 [PATCH for 3.6] videobuf2: fix sparse warning Nicolas THERY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).