Skip to contentSkip to conversation

videobuf2: fix sparse warning

PATCH New Nicolas THERY 1 participant 1 message Aug 3, 2012 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 videobuf2: fix sparse warning

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

---
 drivers/media/video/videobuf2-vmalloc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/media/video/videobuf2-vmalloc.c +1 -0
index 6b5ca6c..94efa04 100644
@@ -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 {
Signature · 1 line
1.7.11.3