]> Git Repo - linux.git/commitdiff
[media] media: videobuf2-dma-contig: include header for exported symbols
authorH Hartley Sweeten <[email protected]>
Tue, 24 Apr 2012 22:08:12 +0000 (19:08 -0300)
committerMauro Carvalho Chehab <[email protected]>
Tue, 8 May 2012 12:13:07 +0000 (09:13 -0300)
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?

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Pawel Osciak <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
Signed-off-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/video/videobuf2-dma-contig.c

index 7de6843a19284b9f25803c7865e2673c433b107b..4b7132660a938f52b105b6306b39d5d54a39777e 100644 (file)
@@ -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 {
This page took 0.05504 seconds and 4 git commands to generate.