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

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)