patch-2.4.0-test2 linux/drivers/block/acsi_slm.c

Next file: linux/drivers/block/amiflop.c
Previous file: linux/drivers/block/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/block/acsi_slm.c linux/drivers/block/acsi_slm.c
@@ -272,6 +272,7 @@
 static struct timer_list slm_timer = { NULL, NULL, 0, 0, slm_test_ready };
 
 static struct file_operations slm_fops = {
+	owner:		THIS_MODULE,
 	read:		slm_read,
 	write:		slm_write,
 	ioctl:		slm_ioctl,
@@ -1008,7 +1009,7 @@
 	
 	devfs_handle = devfs_mk_dir (NULL, "slm", 3, NULL);
 	devfs_register_series (devfs_handle, "%u", MAX_SLM, DEVFS_FL_DEFAULT,
-			       MAJOR_NR, 0, S_IFCHR | S_IRUSR | S_IWUSR, 0, 0,
+			       MAJOR_NR, 0, S_IFCHR | S_IRUSR | S_IWUSR,
 			       &slm_fops, NULL);
 	return 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)