patch-2.2.18 linux/drivers/char/mem.c
Next file: linux/drivers/char/misc.c
Previous file: linux/drivers/char/mac_SCC.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/mem.c
- Orig date:
Fri Apr 21 12:46:04 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/char/mem.c linux/drivers/char/mem.c
@@ -52,18 +52,6 @@
#ifdef CONFIG_MDA_CONSOLE
extern void mda_console_init(void);
#endif
-#if defined(CONFIG_PPC) || defined(CONFIG_MAC)
-extern void adbdev_init(void);
-#endif
-#ifdef CONFIG_USB_UHCI
-int uhci_init(void);
-#endif
-#ifdef CONFIG_USB_OHCI
-int ohci_init(void);
-#endif
-#ifdef CONFIG_USB_OHCI_HCD
-int ohci_hcd_init(void);
-#endif
static ssize_t do_write_mem(struct file * file, void *p, unsigned long realp,
const char * buf, size_t count, loff_t *ppos)
@@ -620,17 +608,6 @@
if (register_chrdev(MEM_MAJOR,"mem",&memory_fops))
printk("unable to get major %d for memory devs\n", MEM_MAJOR);
rand_initialize();
-#ifdef CONFIG_USB
-#ifdef CONFIG_USB_UHCI
- uhci_init();
-#endif
-#ifdef CONFIG_USB_OHCI
- ohci_init();
-#endif
-#ifdef CONFIG_USB_OHCI_HCD
- ohci_hcd_init();
-#endif
-#endif
#if defined (CONFIG_FB)
fbmem_init();
#endif
@@ -678,9 +655,6 @@
#endif
#ifdef CONFIG_VIDEO_BT848
i2c_init();
-#endif
-#if defined(CONFIG_PPC) || defined(CONFIG_MAC)
- adbdev_init();
#endif
#ifdef CONFIG_VIDEO_DEV
videodev_init();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)