--- linux/drivers/usb/inode.c Sun Oct 21 04:13:11 2001 +++ /home/bongani/dev/c/kernel/inode.c Tue Dec 11 21:23:46 2001 @@ -667,7 +667,7 @@ inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; } } - +#ifdef CONFIG_USB_DEVICEFS void usbdevfs_add_bus(struct usb_bus *bus) { @@ -731,13 +731,15 @@ unlock_kernel(); usbdevfs_conn_disc_event(); } - +#endif /* --------------------------------------------------------------------- */ #ifdef CONFIG_PROC_FS static struct proc_dir_entry *usbdir = NULL; #endif +#ifdef CONFIG_USB_DEVICEFS + int __init usbdevfs_init(void) { int ret; @@ -767,6 +769,7 @@ remove_proc_entry("usb", proc_bus); #endif } +#endif #if 0 module_init(usbdevfs_init);