patch-2.4.21 linux-2.4.21/drivers/macintosh/nvram.c
Next file: linux-2.4.21/drivers/md/linear.c
Previous file: linux-2.4.21/drivers/isdn/isdn_ppp.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
2003-06-13 07:51:34.000000000 -0700
-  Orig file: 
linux-2.4.20/drivers/macintosh/nvram.c
-  Orig date: 
2001-10-15 13:43:24.000000000 -0700
diff -urN linux-2.4.20/drivers/macintosh/nvram.c linux-2.4.21/drivers/macintosh/nvram.c
@@ -113,8 +113,7 @@
 {
 	printk(KERN_INFO "Macintosh non-volatile memory driver v%s\n",
 		NVRAM_VERSION);
-	misc_register(&nvram_dev);
-	return 0;
+	return misc_register(&nvram_dev);
 }
 
 void __exit nvram_cleanup(void)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)