patch-2.1.48 linux/drivers/char/misc.c

Next file: linux/drivers/char/nvram.c
Previous file: linux/drivers/char/mem.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.47/linux/drivers/char/misc.c linux/drivers/char/misc.c
@@ -74,6 +74,7 @@
 extern void pcwatchdog_init(void);
 extern int rtc_init(void);
 extern int dsp56k_init(void);
+extern int nvram_init(void);
 
 #ifdef CONFIG_PROC_FS
 static int misc_read_proc(char *buf, char **start, off_t offset,
@@ -241,6 +242,9 @@
 #endif
 #ifdef CONFIG_ATARI_DSP56K
 	dsp56k_init();
+#endif
+#ifdef CONFIG_NVRAM
+	nvram_init();
 #endif
 #endif /* !MODULE */
 	if (register_chrdev(MISC_MAJOR,"misc",&misc_fops)) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov