diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-09-19 19:15:08 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-09-19 19:15:08 +0000 |
commit | 03ba4131783cc9e872f8bb26a03f15bc11f27564 (patch) | |
tree | 88db8dba75ae06ba3bad08e42c5e52efc162535c /drivers/char/saa5249.c | |
parent | 257730f99381dd26e10b832fce4c94cae7ac1176 (diff) |
- Merge with Linux 2.1.121.
- Bugfixes.
Diffstat (limited to 'drivers/char/saa5249.c')
-rw-r--r-- | drivers/char/saa5249.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/saa5249.c b/drivers/char/saa5249.c index 252fcabbe..f3185252f 100644 --- a/drivers/char/saa5249.c +++ b/drivers/char/saa5249.c @@ -172,6 +172,9 @@ static int saa5249_attach(struct i2c_device *device) kfree(vd); return -ENOMEM; } + + memset(t, 0, sizeof(*t)); + for (pgbuf = 0; pgbuf < NUM_DAUS; pgbuf++) { memset(t->vdau[pgbuf].pgbuf, ' ', sizeof(t->vdau[0].pgbuf)); @@ -680,6 +683,7 @@ static struct video_device saa_template= saa5249_release, saa5249_read, saa5249_write, + NULL, /* poll */ saa5249_ioctl, NULL, NULL, |