Skip to contentSkip to conversation

media: videobuf2-dma-contig: include header for exported symbols

PATCH In review H Hartley Sweeten 2 participants 2 messages Apr 24, 2012 – Apr 26, 2012 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: videobuf2-dma-contig: include header for exported symbols

Include the header to pickup the definitions of the exported symbols.

Quiets the following sparse warnings:

warning: symbol 'vb2_dma_contig_memops' was not declared. Should it be static?
warning: symbol 'vb2_dma_contig_init_ctx' was not declared. Should it be static?
warning: symbol 'vb2_dma_contig_cleanup_ctx' was not declared. Should it be static?

Cc Pawel Osciak <[email protected]>
Cc Marek Szyprowski <[email protected]>
Cc Kyungmin Park <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>

---

drivers/media/video/videobuf2-dma-contig.c +1 -0
index f17ad98..a1bee6c 100644
@@ -15,6 +15,7 @@
 #include <linux/dma-mapping.h>
 
 #include <media/videobuf2-core.h>
+#include <media/videobuf2-dma-contig.h>
 #include <media/videobuf2-memops.h>
 
 struct vb2_dc_conf {
Acked-by on v1 1/1
#1 lore raw

Hi,

Quoted 8 lines · H Hartley Sweeten

Include the header to pickup the definitions of the exported symbols.

Quiets the following sparse warnings:

warning: symbol 'vb2_dma_contig_memops' was not declared. Should it be static?
warning: symbol 'vb2_dma_contig_init_ctx' was not declared. Should it be static?
warning: symbol 'vb2_dma_contig_cleanup_ctx' was not declared. Should it be static?

Quoted 5 lines
Cc Pawel Osciak <[email protected]>
Cc Marek Szyprowski <[email protected]>
Cc Kyungmin Park <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Quoted 8 lines

---

drivers/media/video/videobuf2-dma- renamed from drivers/media/video/videobuf2-dma-contig.c +0 -0

contig.c
index f17ad98..a1bee6c 100644

drivers/media/video/videobuf2-dma-contig.c line 21

Quoted 7 lines
drivers/media/video/videobuf2-dma-contig.c +1 -0
@@ -15,6 +15,7 @@
 #include <linux/dma-mapping.h>
 
 #include <media/videobuf2-core.h>
+#include <media/videobuf2-dma-contig.h>
 #include <media/videobuf2-memops.h>
 
 struct vb2_dc_conf {

Best regards

Signature · 2 lines
Marek Szyprowski
Samsung Poland R&D Center