patch-1.3.85 linux/drivers/char/misc.c
Next file: linux/drivers/char/pcxx.c
Previous file: linux/drivers/char/mem.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Mon Apr 8 11:10:35 1996
- Orig file:
v1.3.84/linux/drivers/char/misc.c
- Orig date:
Tue Apr 2 13:32:20 1996
diff -u --recursive --new-file v1.3.84/linux/drivers/char/misc.c linux/drivers/char/misc.c
@@ -39,6 +39,9 @@
#include <linux/malloc.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
+#ifdef CONFIG_APM
+#include <linux/apm_bios.h>
+#endif
#include <linux/tty.h> /* needed by selection.h */
#include "selection.h" /* export its symbols */
@@ -204,6 +207,9 @@
#ifdef CONFIG_SOFT_WATCHDOG
watchdog_init();
#endif
+#ifdef CONFIG_APM
+ apm_bios_init();
+#endif
#endif /* !MODULE */
if (register_chrdev(MISC_MAJOR,"misc",&misc_fops)) {
printk("unable to get major %d for misc devices\n",
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