patch-2.4.14 linux/drivers/sbus/char/jsflash.c
Next file: linux/drivers/sbus/char/zs.c
Previous file: linux/drivers/sbus/char/aurora.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Thu Oct 25 13:58:35 2001
- Orig file:
v2.4.13/linux/drivers/sbus/char/jsflash.c
- Orig date:
Tue Oct 23 22:48:52 2001
diff -u --recursive --new-file v2.4.13/linux/drivers/sbus/char/jsflash.c linux/drivers/sbus/char/jsflash.c
@@ -501,7 +501,6 @@
jdp = &jsf0.dv[dev];
jdp->refcnt++;
- MOD_INC_USE_COUNT;
return 0;
}
@@ -531,7 +530,6 @@
--jdp->refcnt;
}
/* N.B. Doesn't lo->file need an fput?? */
- MOD_DEC_USE_COUNT;
return 0;
}
@@ -549,6 +547,7 @@
static struct miscdevice jsf_dev = { JSF_MINOR, "jsflash", &jsf_fops };
static struct block_device_operations jsfd_fops = {
+ owner: THIS_MODULE,
open: jsfd_open,
release: jsfd_release,
ioctl: jsfd_ioctl,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)