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

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

diff -u --recursive --new-file v2.1.7/linux/drivers/char/misc.c linux/drivers/char/misc.c
@@ -67,6 +67,7 @@
 extern int atixl_busmouse_init(void);
 extern int sun_mouse_init(void);
 extern void watchdog_init(void);
+extern void wdt_init(void);
 extern void pcwatchdog_init(void);
 extern int rtc_init(void);
 
@@ -222,7 +223,10 @@
 #endif
 #ifdef CONFIG_SOFT_WATCHDOG
 	watchdog_init();
-#endif	
+#endif
+#ifdef CONFIG_WDT
+	wdt_init();
+#endif
 #ifdef CONFIG_PCWATCHDOG
 	pcwatchdog_init();
 #endif

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