patch-2.4.0-test2 linux/drivers/sbus/char/bpp.c

Next file: linux/drivers/sbus/char/envctrl.c
Previous file: linux/drivers/sbus/audio/audio.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/sbus/char/bpp.c linux/drivers/sbus/char/bpp.c
@@ -835,6 +835,7 @@
 }
 
 static struct file_operations bpp_fops = {
+	owner:		THIS_MODULE,
 	read:		bpp_read,
 	write:		bpp_write,
 	ioctl:		bpp_ioctl,
@@ -1030,7 +1031,7 @@
 	}
 	devfs_handle = devfs_mk_dir (NULL, "bpp", 3, NULL);
 	devfs_register_series (devfs_handle, "%u", BPP_NO, DEVFS_FL_DEFAULT,
-			       BPP_MAJOR, 0, S_IFCHR | S_IRUSR | S_IWUSR, 0, 0,
+			       BPP_MAJOR, 0, S_IFCHR | S_IRUSR | S_IWUSR,
 			       &bpp_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)