patch-2.2.6 linux/drivers/char/isicom.c

Next file: linux/drivers/char/istallion.c
Previous file: linux/drivers/char/dtlk.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.5/linux/drivers/char/isicom.c linux/drivers/char/isicom.c
@@ -114,6 +114,7 @@
 #ifdef ISICOM_DEBUG	
 	printk(KERN_DEBUG "ISILoad:Firmware loader Opened!!!\n");
 #endif	
+	MOD_INC_USE_COUNT;
 	return 0;
 }
 
@@ -122,6 +123,7 @@
 #ifdef ISICOM_DEBUG
 	printk(KERN_DEBUG "ISILoad:Firmware loader Close(Release)d\n",);
 #endif	
+	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)