summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb')
-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