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

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

diff -u --recursive --new-file v2.3.42/linux/drivers/char/istallion.c linux/drivers/char/istallion.c
@@ -777,19 +777,11 @@
  *	board. This is also a very useful debugging tool.
  */
 static struct file_operations	stli_fsiomem = {
-	NULL,		/* llseek */
-	stli_memread,	/* read */
-	stli_memwrite,	/* write */
-	NULL,		/* readdir */
-	NULL,		/* poll */
-	stli_memioctl,	/* ioctl */
-	NULL,		/* mmap */
-	stli_memopen,	/* open */
-	NULL,		/* flush */
-	stli_memclose,	/* release */
-	NULL,		/* fsync */
-	NULL,		/* fasync */
-	NULL		/* lock */
+	read:		stli_memread,
+	write:		stli_memwrite,
+	ioctl:		stli_memioctl,
+	open:		stli_memopen,
+	release:	stli_memclose,
 };
 
 /*****************************************************************************/

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