summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-03-18 21:15:10 +0000
committerHolger Waechtler <devnull@localhost>2003-03-18 21:15:10 +0000
commit4a180410c9bb7ae76a3961c297ce1d7a9cce44fa (patch)
treec477278806b31a80a10f52d33f2497fcc08f8a89 /linux/drivers/media
parent1ef7a28f05c5684f5037351162e86763b3092468 (diff)
downloadmediapointer-dvb-s2-4a180410c9bb7ae76a3961c297ce1d7a9cce44fa.tar.gz
mediapointer-dvb-s2-4a180410c9bb7ae76a3961c297ce1d7a9cce44fa.tar.bz2
fix comment and rename 'struct dvb_ringbuffer_s' to 'struct dvb_ringbuffer'
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_ringbuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_ringbuffer.h b/linux/drivers/media/dvb/dvb-core/dvb_ringbuffer.h
index 19322ee1e..3bbcb2896 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_ringbuffer.h
+++ b/linux/drivers/media/dvb/dvb-core/dvb_ringbuffer.h
@@ -33,7 +33,7 @@
#define _DVB_RINGBUFFER_H_
-typedef struct dvb_ringbuffer_s {
+typedef struct dvb_ringbuffer {
u8 *data;
ssize_t size;
ssize_t pread;
@@ -59,7 +59,7 @@ typedef struct dvb_ringbuffer_s {
** ...
**
** *** read min. 1000, max. <bufsize> bytes ***
-** avail = dvb_ringbuffer_available(rbuf);
+** avail = dvb_ringbuffer_avail(rbuf);
** if (avail >= 1000)
** count = dvb_ringbuffer_read(rbuf, buffer, min(avail, bufsize), 0);
** else