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

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

diff -u --recursive --new-file v1.3.88/linux/drivers/char/misc.c linux/drivers/char/misc.c
@@ -66,6 +66,7 @@
 extern int ms_bus_mouse_init(void);
 extern int atixl_busmouse_init(void);
 extern void watchdog_init(void);
+extern int rtc_init(void);
 
 #ifdef CONFIG_PROC_FS
 static int proc_misc_read(char *buf, char **start, off_t offset, int len, int unused)
@@ -209,6 +210,9 @@
 #endif	
 #ifdef CONFIG_APM
 	apm_bios_init();
+#endif
+#ifdef CONFIG_RTC
+	rtc_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 with Sam's (original) version
of this