summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx18/cx18-streams.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2012-10-27 16:28:50 +0200
committerMauro Carvalho Chehab2012-10-27 21:58:14 +0200
commit5e6e81b2890db3969527772a8350825a85c22d5c (patch)
treef21101eb3a23ca188d88b6bc58506c7edb7d01b4 /drivers/media/pci/cx18/cx18-streams.c
parent[media] tda18271c2dd.c: get rid of warning: no previous prototype (diff)
downloadkernel-qcow2-linux-5e6e81b2890db3969527772a8350825a85c22d5c.tar.gz
kernel-qcow2-linux-5e6e81b2890db3969527772a8350825a85c22d5c.tar.xz
kernel-qcow2-linux-5e6e81b2890db3969527772a8350825a85c22d5c.zip
[media] cx18: get rid of warning: no previous prototype
drivers/media/pci/cx18/cx18-alsa-main.c:200:5: warning: no previous prototype for 'cx18_alsa_load' [-Wmissing-prototypes] drivers/media/pci/cx18/cx18-alsa-pcm.c:325:5: warning: no previous prototype for 'snd_cx18_pcm_create' [-Wmissing-prototypes] drivers/media/pci/cx18/cx18-alsa-pcm.c:72:6: warning: no previous prototype for 'cx18_alsa_announce_pcm_data' [-Wmissing-prototypes] drivers/media/pci/cx18/cx18-streams.c:100:6: warning: no previous prototype for 'cx18_dma_free' [-Wmissing-prototypes] Cc: Andy Walls <awalls@md.metrocast.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/cx18/cx18-streams.c')
-rw-r--r--drivers/media/pci/cx18/cx18-streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/cx18/cx18-streams.c b/drivers/media/pci/cx18/cx18-streams.c
index 72af9b5c2d7d..843c62b2f482 100644
--- a/drivers/media/pci/cx18/cx18-streams.c
+++ b/drivers/media/pci/cx18/cx18-streams.c
@@ -97,7 +97,7 @@ static struct {
};
-void cx18_dma_free(struct videobuf_queue *q,
+static void cx18_dma_free(struct videobuf_queue *q,
struct cx18_stream *s, struct cx18_videobuf_buffer *buf)
{
videobuf_waiton(q, &buf->vb, 0, 0);