patch-2.4.0-test2 linux/drivers/sbus/char/openprom.c
Next file: linux/drivers/sbus/char/pcikbd.c
Previous file: linux/drivers/sbus/char/jsflash.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Mon Jun 19 17:59:41 2000
- Orig file:
v2.4.0-test1/linux/drivers/sbus/char/openprom.c
- Orig date:
Thu Feb 10 17:11:12 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/sbus/char/openprom.c linux/drivers/sbus/char/openprom.c
@@ -595,19 +595,17 @@
data->lastnode = prom_root_node;
file->private_data = (void *)data;
- MOD_INC_USE_COUNT;
-
return 0;
}
static int openprom_release(struct inode * inode, struct file * file)
{
kfree_s(file->private_data, sizeof(DATA));
- MOD_DEC_USE_COUNT;
return 0;
}
static struct file_operations openprom_fops = {
+ owner: THIS_MODULE,
llseek: openprom_lseek,
ioctl: openprom_ioctl,
open: openprom_open,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)