patch-2.3.43 linux/drivers/sgi/char/usema.c

Next file: linux/drivers/sound/Makefile
Previous file: linux/drivers/sgi/char/streamable.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/sgi/char/usema.c linux/drivers/sgi/char/usema.c
@@ -170,18 +170,10 @@
 }
 
 struct file_operations sgi_usemaclone_fops = {
-	NULL,			/* llseek */
-	NULL,			/* read */
-	NULL,			/* write */
-	NULL,			/* readdir */
-	sgi_usemaclone_poll,	/* poll */
-	sgi_usemaclone_ioctl,	/* ioctl */
-	NULL,			/* mmap */
-	sgi_usemaclone_open,	/* open */
-	NULL,			/* flush */
-	sgi_usemaclone_release,	/* release */
-	NULL,			/* fsync */
-	NULL			/* lock */
+	poll:		sgi_usemaclone_poll,
+	ioctl:		sgi_usemaclone_ioctl,
+	open:		sgi_usemaclone_open,
+	release:	sgi_usemaclone_release,
 };
 
 static struct miscdevice dev_usemaclone = {

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