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

Next file: linux-2.4.21/arch/m68k/q40/config.c
Previous file: linux-2.4.21/arch/m68k/mm/sun3mmu.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/m68k/mvme16x/rtc.c linux-2.4.21/arch/m68k/mvme16x/rtc.c
@@ -168,7 +168,6 @@
 		return -ENODEV;
 
 	printk(KERN_INFO "MK48T08 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)