patch-2.3.43 linux/drivers/block/paride/pg.c

Next file: linux/drivers/block/paride/pt.c
Previous file: linux/drivers/block/md.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/block/paride/pg.c linux/drivers/block/paride/pg.c
@@ -260,18 +260,10 @@
 /* kernel glue structures */
 
 static struct file_operations pg_fops = {
-	NULL,                   /* lseek - default */
-	pg_read,                /* read */
-	pg_write,               /* write */
-	NULL,                   /* readdir - bad */
-	NULL,                   /* select */
-	NULL,                   /* ioctl */
-	NULL,                   /* mmap */
-	pg_open,                /* open */
-	NULL,			/* flush */
-	pg_release,             /* release */
-	NULL,                   /* fsync */
-	NULL,                   /* fasync */
+	read:		pg_read,
+	write:		pg_write,
+	open:		pg_open,
+	release:	pg_release,
 };
 
 void pg_init_units( void )

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