From: H Hartley Sweeten Date: Tue, 24 Apr 2012 22:08:12 +0000 (-0300) Subject: [media] media: videobuf2-dma-contig: include header for exported symbols X-Git-Tag: firefly_0821_release~3680^2~275^2~2357 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d0df3c384766b11ca118ceac9a3acdc0d76239b1;p=firefly-linux-kernel-4.4.55.git [media] 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? Signed-off-by: H Hartley Sweeten Cc: Pawel Osciak Cc: Kyungmin Park Acked-by: Marek Szyprowski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/videobuf2-dma-contig.c b/drivers/media/video/videobuf2-dma-contig.c index f17ad98fcc5f..a1bee6c0b31d 100644 --- a/drivers/media/video/videobuf2-dma-contig.c +++ b/drivers/media/video/videobuf2-dma-contig.c @@ -15,6 +15,7 @@ #include #include +#include #include struct vb2_dc_conf {