patch-2.1.130 linux/drivers/char/bttv.c
Next file: linux/drivers/char/mem.c
Previous file: linux/drivers/block/loop.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Fri Nov 20 10:58:22 1998
- Orig file:
v2.1.129/linux/drivers/char/bttv.c
- Orig date:
Thu Nov 12 16:21:18 1998
diff -u --recursive --new-file v2.1.129/linux/drivers/char/bttv.c linux/drivers/char/bttv.c
@@ -2582,7 +2582,10 @@
btv->grabcount=0;
btv->grab=0;
btv->lastgrab=0;
- btv->field=btv->last_field=0;
+ btv->field=btv->last_field=0;
+ btv->video_dev.minor = -1;
+ btv->vbi_dev.minor = -1;
+ btv->radio_dev.minor = -1;
/* i2c */
memcpy(&(btv->i2c),&bttv_i2c_bus_template,sizeof(struct i2c_bus));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov