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

Next file: linux/drivers/char/bttv.c
Previous file: linux/drivers/char/agp/agpgart_fe.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/char/applicom.c linux/drivers/char/applicom.c
@@ -98,17 +98,12 @@
 static void ac_interrupt(int irq, void *dev_instance, struct pt_regs *regs);
 
 struct file_operations ac_fops={
-	ac_llseek,      /* llseek */
-	ac_read,        /* read */
-	ac_write,       /* write */
-	NULL,           /* readdir */
-	NULL,           /* poll */
-       	ac_ioctl,       /* ioctl */
-       	NULL,           /* mmap */
-	ac_open,        /* open */
-	NULL,           /* flush */
-	ac_release,     /* release */
-	NULL            /* fsync */
+	llseek:		ac_llseek,
+	read:		ac_read,
+	write:		ac_write,
+	ioctl:		ac_ioctl,
+	open:		ac_open,
+	release:	ac_release,
 };
 
 struct miscdevice ac_miscdev={

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