summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx23885/cx23885-vbi.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-09-04 08:33:43 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-09-04 08:33:43 +0200
commit9b4cd8c0a62769d3c668e00f4202dfd57b66f765 (patch)
treeba3b5e8333f92d2319d32891d6e43ec6ef0b18e1 /linux/drivers/media/video/cx23885/cx23885-vbi.c
parent2f41bc61c3b5864177690d7f88d36366c3a05c5c (diff)
downloadmediapointer-dvb-s2-9b4cd8c0a62769d3c668e00f4202dfd57b66f765.tar.gz
mediapointer-dvb-s2-9b4cd8c0a62769d3c668e00f4202dfd57b66f765.tar.bz2
v4l-dvb: fix assorted sparse warnings
From: Hans Verkuil <hverkuil@xs4all.nl> Fix sparse warnings. None are serious, but cutting down on these helps find future serious sparse warnings/errors. Redid the av7710.c patch based on a suggestion by Oliver Endriss. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx23885/cx23885-vbi.c')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-vbi.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-vbi.c b/linux/drivers/media/video/cx23885/cx23885-vbi.c
index 0705b9223..4b65552b3 100644
--- a/linux/drivers/media/video/cx23885/cx23885-vbi.c
+++ b/linux/drivers/media/video/cx23885/cx23885-vbi.c
@@ -86,7 +86,9 @@ static int cx23885_start_vbi_dma(struct cx23885_dev *dev,
return 0;
}
-int cx23885_stop_vbi_dma(struct cx23885_dev *dev)
+#if 0
+/* not (yet) used */
+static int cx23885_stop_vbi_dma(struct cx23885_dev *dev)
{
/* stop dma */
cx_clear(VID_A_DMA_CTL, 0x00000022);
@@ -96,8 +98,9 @@ int cx23885_stop_vbi_dma(struct cx23885_dev *dev)
cx_clear(VID_A_INT_MSK, 0x00000022);
return 0;
}
+#endif
-int cx23885_restart_vbi_queue(struct cx23885_dev *dev,
+static int cx23885_restart_vbi_queue(struct cx23885_dev *dev,
struct cx23885_dmaqueue *q)
{
struct cx23885_buffer *buf;