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

Next file: linux-2.4.21/arch/m68k/config.in
Previous file: linux-2.4.21/arch/m68k/atari/stram.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/m68k/bvme6000/rtc.c linux-2.4.21/arch/m68k/bvme6000/rtc.c
@@ -179,7 +179,6 @@
 		return -ENODEV;
 
 	printk(KERN_INFO "DP8570A Real Time Clock Driver v%s\n", RTC_VERSION);
-	misc_register(&rtc_dev);
-	return 0;
+	return misc_register(&rtc_dev);
 }
 

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