And here goes the fix. It also fixes a problem with devices with HID
type interface with no endpoints. Alan, Linus, please apply it.
--- linux-2.4.9-ac10/drivers/usb/hid-core.c Mon Sep 10 10:10:16 2001
+++ linux/drivers/usb/hid-core.c Sun Sep 16 12:25:01 2001
@@ -1281,10 +1281,10 @@
static int __init hid_init(void)
{
- usb_register(&hid_driver);
#ifdef CONFIG_USB_HIDDEV
hiddev_init();
#endif
+ usb_register(&hid_driver);
info(DRIVER_VERSION " " DRIVER_AUTHOR);
-- Vojtech Pavlik SuSE Labs - 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/