summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146_vbi.c
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-01-07 16:31:21 +0000
committerMichael Hunold <devnull@localhost>2003-01-07 16:31:21 +0000
commit4c17ef9d42fca347a7c9156ea071c5e374d8cc9c (patch)
tree58a3a5bff4e0f19c9f599d2bc4c340d6edfaf2a9 /linux/drivers/media/common/saa7146_vbi.c
parentbf378e1286166765aea8a9b28caa84bf6488a768 (diff)
downloadmediapointer-dvb-s2-4c17ef9d42fca347a7c9156ea071c5e374d8cc9c.tar.gz
mediapointer-dvb-s2-4c17ef9d42fca347a7c9156ea071c5e374d8cc9c.tar.bz2
- Fixed all initializers to C99, expect av7110.c
- removed unused variables - other code clenaups - corrected H_PIXELS_PAL to 720 (not used for DVB-cards)
Diffstat (limited to 'linux/drivers/media/common/saa7146_vbi.c')
-rw-r--r--linux/drivers/media/common/saa7146_vbi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/linux/drivers/media/common/saa7146_vbi.c b/linux/drivers/media/common/saa7146_vbi.c
index 96ab61028..baee2669f 100644
--- a/linux/drivers/media/common/saa7146_vbi.c
+++ b/linux/drivers/media/common/saa7146_vbi.c
@@ -263,8 +263,6 @@ int buffer_prepare(struct file *file, struct videobuf_buffer *vb)
static int
buffer_setup(struct file *file, int *count, int *size)
{
- struct saa7146_fh *fh = file->private_data;
- struct saa7146_dev *dev = fh->dev;
int llength,lines;
lines = 16 * 2 ; /* 2 fields */
@@ -460,8 +458,8 @@ ssize_t vbi_read(struct file *file, char *data, size_t count, loff_t *ppos)
struct saa7146_use_ops saa7146_vbi_uops = {
.init = vbi_init,
.open = vbi_open,
- .release = vbi_close,
- .irq_done = vbi_irq_done,
+ .release = vbi_close,
+ .irq_done = vbi_irq_done,
.read = vbi_read,
};