patch-2.3.43 linux/drivers/char/ip2main.c

Next file: linux/drivers/char/isicom.c
Previous file: linux/drivers/char/ftape/zftape/zftape-init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/char/ip2main.c linux/drivers/char/ip2main.c
@@ -185,16 +185,11 @@
 /* This is the driver descriptor for the ip2ipl device, which is used to
  * download the loadware to the boards.
  */
-static struct file_operations
-ip2_ipl = {
-	NULL,
-	ip2_ipl_read,
-	ip2_ipl_write,
-	NULL,
-	NULL,
-	ip2_ipl_ioctl,
-	NULL,
-	ip2_ipl_open,
+static struct file_operations ip2_ipl = {
+	read:		ip2_ipl_read,
+	write:		ip2_ipl_write,
+	ioctl:		ip2_ipl_ioctl,
+	open:		ip2_ipl_open,
 }; 
 
 static long irq_counter = 0;

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