patch-2.3.49 linux/arch/mips64/sgi-ip27/ip27-rtc.c
Next file: linux/arch/mips64/sgi-ip27/ip27-setup.c
Previous file: linux/arch/mips64/sgi-ip27/ip27-irq.c
Back to the patch index
Back to the overall index
-  Lines: 20
-  Date:
Tue Feb 29 11:08:16 2000
-  Orig file: 
v2.3.48/linux/arch/mips64/sgi-ip27/ip27-rtc.c
-  Orig date: 
Sat Feb 26 22:31:41 2000
diff -u --recursive --new-file v2.3.48/linux/arch/mips64/sgi-ip27/ip27-rtc.c linux/arch/mips64/sgi-ip27/ip27-rtc.c
@@ -192,16 +192,9 @@
  */
 
 static struct file_operations rtc_fops = {
-	NULL,		/* No llseek (yet) */
-	NULL,		/* No read (yet) */
-	NULL,		/* No write */
-	NULL,		/* No readdir */
-	NULL,		/* No poll (yet) */
-	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)