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

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

diff -u --recursive --new-file v2.3.42/linux/drivers/char/stallion.c linux/drivers/char/stallion.c
@@ -743,19 +743,9 @@
  *	to get at port stats - only not using the port device itself.
  */
 static struct file_operations	stl_fsiomem = {
-	NULL,		/* llseek */
-	NULL,		/* read */
-	NULL,		/* write */
-	NULL,		/* readdir */
-	NULL,		/* poll */
-	stl_memioctl,	/* ioctl */
-	NULL,		/* mmap */
-	stl_memopen,	/* open */
-	NULL,		/* flush */
-	stl_memclose,	/* release */
-	NULL,		/* fsync */
-	NULL,		/* fasync */
-	NULL		/* lock */
+	ioctl:		stl_memioctl,
+	open:		stl_memopen,
+	release:	stl_memclose,
 };
 
 /*****************************************************************************/

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