patch-2.0.15 linux/drivers/char/mem.c

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

diff -u --recursive --new-file v2.0.14/linux/drivers/char/mem.c linux/drivers/char/mem.c
@@ -29,6 +29,9 @@
 #ifdef CONFIG_ISDN
 void isdn_init(void);
 #endif
+#ifdef CONFIG_PCWATCHDOG
+void pcwatchdog_init(void);
+#endif
 
 static int read_ram(struct inode * inode, struct file * file, char * buf, int count)
 {
@@ -392,6 +395,7 @@
 #if defined (CONFIG_BUSMOUSE) || defined(CONFIG_UMISC) || \
     defined (CONFIG_PSMOUSE) || defined (CONFIG_MS_BUSMOUSE) || \
     defined (CONFIG_ATIXL_BUSMOUSE) || defined(CONFIG_SOFT_WATCHDOG) || \
+    defined (CONFIG_PCWATCHDOG) || \
     defined (CONFIG_APM) || defined (CONFIG_RTC) || defined (CONFIG_SUN_MOUSE)
 	misc_init();
 #endif
@@ -400,9 +404,6 @@
 #endif
 #if CONFIG_QIC02_TAPE
 	qic02_tape_init();
-#endif
-#ifdef CONFIG_PCWATCHDOG
-	pcwatchdog_init();
 #endif
 #if CONFIG_ISDN
 	isdn_init();

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