patch-2.3.43 linux/arch/m68k/mvme16x/rtc.c
Next file: linux/arch/mips/mm/init.c
Previous file: linux/arch/m68k/mm/init.c
Back to the patch index
Back to the overall index
-  Lines: 20
-  Date:
Wed Feb  9 11:42:35 2000
-  Orig file: 
v2.3.42/linux/arch/m68k/mvme16x/rtc.c
-  Orig date: 
Fri Jan 28 15:09:07 2000
diff -u --recursive --new-file v2.3.42/linux/arch/m68k/mvme16x/rtc.c linux/arch/m68k/mvme16x/rtc.c
@@ -147,16 +147,9 @@
  */
 
 static struct file_operations rtc_fops = {
-	NULL,
-	NULL,
-	NULL,		/* No write */
-	NULL,		/* No readdir */
-	NULL,
-	rtc_ioctl,
-	NULL,		/* No mmap */
-	rtc_open,
-	NULL,		/* flush */
-	rtc_release
+	ioctl:		rtc_ioctl,
+	open:		rtc_open,
+	release:	rtc_release,
 };
 
 static struct miscdevice rtc_dev=
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)