patch-2.3.49 linux/drivers/macintosh/via-pmu68k.c

Next file: linux/drivers/net/3c505.c
Previous file: linux/drivers/isdn/isdn_common.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/drivers/macintosh/via-pmu68k.c linux/drivers/macintosh/via-pmu68k.c
@@ -1038,16 +1038,10 @@
 }
 
 static struct file_operations pmu_device_fops = {
-	NULL,		/* no seek */
-	pmu_read,
-	pmu_write,
-	NULL,		/* no readdir */
-	NULL,		/* no poll yet */
-	pmu_ioctl,
-	NULL,		/* no mmap */
-	pmu_open,
-	NULL,		/* flush */
-	NULL		/* no release */
+	read:		pmu_read,
+	write:		pmu_write,
+	ioctl:		pmu_ioctl,
+	open:		pmu_open,
 };
 
 static struct miscdevice pmu_device = {

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