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

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

diff -u --recursive --new-file v2.3.42/linux/drivers/block/paride/pt.c linux/drivers/block/paride/pt.c
@@ -262,18 +262,11 @@
 /* kernel glue structures */
 
 static struct file_operations pt_fops = {
-        NULL,                   /* lseek - default */
-        pt_read,                /* read */
-        pt_write,               /* write */
-        NULL,                   /* readdir - bad */
-        NULL,                   /* select */
-        pt_ioctl,               /* ioctl */
-        NULL,                   /* mmap */
-        pt_open,                /* open */
-	NULL,			/* flush */
-        pt_release,             /* release */
-        NULL,                   /* fsync */
-        NULL,                   /* fasync */
+	read:		pt_read,
+	write:		pt_write,
+	ioctl:		pt_ioctl,
+	open:		pt_open,
+	release:	pt_release,
 };
 
 void pt_init_units( void )

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