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

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

diff -u --recursive --new-file v2.3.42/linux/drivers/char/isicom.c linux/drivers/char/isicom.c
@@ -109,18 +109,9 @@
  */
 
 static struct file_operations ISILoad_fops = {
-	NULL,	/*	lseek	*/
-	NULL,	/*	read	*/
-	NULL,	/*	write	*/
-	NULL,	/*	readdir	*/
-	NULL,	/*	select	*/
-	ISILoad_ioctl,
-	NULL,	/*	mmap	*/
-	ISILoad_open,
-	NULL,	/*	flush	*/
-	ISILoad_release,
-	NULL,	/*	fsync	*/
-	NULL,	/*	fasync	*/
+	ioctl:		ISILoad_ioctl,
+	open:		ISILoad_open,
+	release:	ISILoad_release,
 };
 
 struct miscdevice isiloader_device = {

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