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

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)