Sorry if this has been posted or fixed already but here it goes.
This is the two patche that fixes some compilation errors on
linux/drivers/usb
This fixes the compilation error on inode.c
--=-j38rnn5coQtmFKkJm2rw
Content-Disposition: attachment; filename=usb_inode.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-diff; charset=ISO-8859-1
--- 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 =3D inode->i_mtime =3D inode->i_ctime =3D CURRENT_TIME;
}
}
-
+#ifdef CONFIG_USB_DEVICEFS
=20
void usbdevfs_add_bus(struct usb_bus *bus)
{
@@ -731,13 +731,15 @@
unlock_kernel();
usbdevfs_conn_disc_event();
}
-
+#endif
/* --------------------------------------------------------------------- *=
/
=20
#ifdef CONFIG_PROC_FS =09
static struct proc_dir_entry *usbdir =3D NULL;
#endif=09
=20
+#ifdef CONFIG_USB_DEVICEFS
+
int __init usbdevfs_init(void)
{
int ret;
@@ -767,6 +769,7 @@
remove_proc_entry("usb", proc_bus);
#endif
}
+#endif
=20
#if 0
module_init(usbdevfs_init);
--=-j38rnn5coQtmFKkJm2rw--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/