patch-2.4.14 linux/drivers/block/DAC960.c
Next file: linux/drivers/block/acsi.c
Previous file: linux/drivers/atm/nicstar.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Thu Oct 25 13:58:35 2001
- Orig file:
v2.4.13/linux/drivers/block/DAC960.c
- Orig date:
Tue Oct 23 22:48:50 2001
diff -u --recursive --new-file v2.4.13/linux/drivers/block/DAC960.c linux/drivers/block/DAC960.c
@@ -82,7 +82,8 @@
static BlockDeviceOperations_T
DAC960_BlockDeviceOperations =
- { open: DAC960_Open,
+ { owner: THIS_MODULE,
+ open: DAC960_Open,
release: DAC960_Release,
ioctl: DAC960_IOCTL };
@@ -5378,7 +5379,6 @@
Controller->ControllerUsageCount++;
Controller->LogicalDriveUsageCount[LogicalDriveNumber]++;
ModuleOnly:
- MOD_INC_USE_COUNT;
return 0;
}
@@ -5401,7 +5401,6 @@
Controller->LogicalDriveUsageCount[LogicalDriveNumber]--;
Controller->ControllerUsageCount--;
ModuleOnly:
- MOD_DEC_USE_COUNT;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)