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

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)