USB compilation fix

Luca Lizzeri (ll@niche.it)
Wed, 28 Apr 1999 22:12:48 +0200


USB won't compile without the following patch

Now I'm going to see if it works ... :)

Bye,
Luca

--- drivers/usb/usb.h.bak Wed Apr 28 21:59:45 1999
+++ drivers/usb/usb.h Wed Apr 28 22:08:08 1999
@@ -363,8 +363,8 @@
void usb_audio_interface(struct usb_interface_descriptor *, u8 *);
void usb_audio_endpoint(struct usb_endpoint_descriptor *, u8 *);
#else
-extern inline void usb_audio_interface(struct usb_interface_descriptor *, u8 *) {}
-extern inline void usb_audio_endpoint(struct usb_endpoint_descriptor *, u8 *) {}
+extern inline void usb_audio_interface(struct usb_interface_descriptor *interface, u8 *data) {}
+extern inline void usb_audio_endpoint(struct usb_endpoint_descriptor *interface, u8 *data) {}
#endif

#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/