summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videobuf2-dma-contig.c
diff options
context:
space:
mode:
authorH Hartley Sweeten2012-04-25 00:08:12 +0200
committerMauro Carvalho Chehab2012-05-08 19:34:45 +0200
commitd0df3c384766b11ca118ceac9a3acdc0d76239b1 (patch)
tree74a4534a07b47a46da0bdb2f9ee5a582fd156793 /drivers/media/video/videobuf2-dma-contig.c
parent[media] as3645a: move relevant code under __devinit/__devexit (diff)
downloadkernel-qcow2-linux-d0df3c384766b11ca118ceac9a3acdc0d76239b1.tar.gz
kernel-qcow2-linux-d0df3c384766b11ca118ceac9a3acdc0d76239b1.tar.xz
kernel-qcow2-linux-d0df3c384766b11ca118ceac9a3acdc0d76239b1.zip
[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 <hsweeten@visionengravers.com> Cc: Pawel Osciak <pawel@osciak.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/videobuf2-dma-contig.c')
-rw-r--r--drivers/media/video/videobuf2-dma-contig.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/dma-mapping.h>
#include <media/videobuf2-core.h>
+#include <media/videobuf2-dma-contig.h>
#include <media/videobuf2-memops.h>
struct vb2_dc_conf {