patch-2.3.43 linux/arch/m68k/bvme6000/rtc.c

Next file: linux/arch/m68k/mac/adb-bus.c
Previous file: linux/arch/m68k/atari/joystick.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/arch/m68k/bvme6000/rtc.c linux/arch/m68k/bvme6000/rtc.c
@@ -158,16 +158,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)