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

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

diff -u --recursive --new-file v2.0.24/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);
 
@@ -218,7 +219,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