media: videobuf2-dma-contig: include header for exported symbols
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?
---
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 {
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
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]>
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