patch-2.1.120 linux/drivers/char/saa5249.c
Next file: linux/drivers/char/serial.c
Previous file: linux/drivers/char/rocket.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Aug 28 10:47:15 1998
- Orig file:
v2.1.119/linux/drivers/char/saa5249.c
- Orig date:
Sun Jul 26 11:57:15 1998
diff -u --recursive --new-file v2.1.119/linux/drivers/char/saa5249.c linux/drivers/char/saa5249.c
@@ -172,6 +172,9 @@
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 @@
saa5249_release,
saa5249_read,
saa5249_write,
+ NULL, /* poll */
saa5249_ioctl,
NULL,
NULL,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov