patch-2.3.43 linux/drivers/sbus/char/uctrl.c

Next file: linux/drivers/sbus/char/vfc_dev.c
Previous file: linux/drivers/sbus/char/sunmouse.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/sbus/char/uctrl.c linux/drivers/sbus/char/uctrl.c
@@ -1,4 +1,4 @@
-/* $Id: uctrl.c,v 1.6 2000/01/22 05:22:07 anton Exp $
+/* $Id: uctrl.c,v 1.7 2000/02/09 22:33:28 davem Exp $
  * uctrl.c: TS102 Microcontroller interface on Tadpole Sparcbook 3
  *
  * Copyright 1999 Derrick J Brashear (shadow@dementia.org)
@@ -238,16 +238,10 @@
 }
 
 static struct file_operations uctrl_fops = {
-	uctrl_llseek,
-	NULL,           /* read */
-	NULL,           /* write */
-	NULL,		/* readdir */
-	NULL,		/* poll */	
-	uctrl_ioctl,
-	NULL,		/* mmap */
-	uctrl_open,
-	NULL,		/* flush */
-	uctrl_release
+	llseek:		uctrl_llseek,
+	ioctl:		uctrl_ioctl,
+	open:		uctrl_open,
+	release:	uctrl_release,
 };
 
 static struct miscdevice uctrl_dev = {

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