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

Next file: linux/drivers/char/pc_keyb.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.114/linux/drivers/char/misc.c linux/drivers/char/misc.c
@@ -85,6 +85,7 @@
 extern int radio_init(void);
 extern void hfmodem_init(void);
 extern int pc110pad_init(void);
+extern int pmu_device_init(void);
 
 #ifdef CONFIG_PROC_FS
 static int misc_read_proc(char *buf, char **start, off_t offset,
@@ -279,6 +280,9 @@
 #endif
 #ifdef CONFIG_HFMODEM
 	hfmodem_init();
+#endif
+#ifdef CONFIG_PMAC_PBOOK
+	pmu_device_init();
 #endif
 #endif /* !MODULE */
 	if (register_chrdev(MISC_MAJOR,"misc",&misc_fops)) {

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