patch-2.2.18 linux/drivers/char/misc.c
Next file: linux/drivers/char/n_hdlc.c
Previous file: linux/drivers/char/mem.c
Back to the patch index
Back to the overall index
- Lines: 47
- Date:
Wed Nov 8 23:03:17 2000
- Orig file:
v2.2.17/drivers/char/misc.c
- Orig date:
Sat Sep 9 18:42:35 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/char/misc.c linux/drivers/char/misc.c
@@ -43,9 +43,6 @@
#include <linux/proc_fs.h>
#include <linux/stat.h>
#include <linux/init.h>
-#ifdef CONFIG_APM
-#include <linux/apm_bios.h>
-#endif
#include <linux/tty.h>
#include <linux/selection.h>
@@ -87,6 +84,7 @@
extern int pc110pad_init(void);
extern int pmu_device_init(void);
extern int tosh_init(void);
+extern int rng_init(void);
static int misc_read_proc(char *buf, char **start, off_t offset,
int len, int *eof, void *private)
@@ -241,9 +239,6 @@
#ifdef CONFIG_DTLK
dtlk_init();
#endif
-#ifdef CONFIG_APM
- apm_init();
-#endif
#ifdef CONFIG_H8
h8_init();
#endif
@@ -253,7 +248,7 @@
#ifdef CONFIG_BVME6000
rtc_DP8570A_init();
#endif
-#if defined(CONFIG_RTC) || defined(CONFIG_SUN_MOSTEK_RTC)
+#if defined(CONFIG_RTC) || defined(CONFIG_PPC_RTC) || defined(CONFIG_SUN_MOSTEK_RTC)
rtc_init();
#endif
#ifdef CONFIG_ATARI_DSP56K
@@ -279,6 +274,9 @@
#endif
#ifdef CONFIG_SGI
streamable_init ();
+#endif
+#ifdef CONFIG_INTEL_RNG
+ rng_init ();
#endif
#ifdef CONFIG_TOSHIBA
tosh_init();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)