Resending patch as attatchment as my lines got wrapped.
http://www.reactivated.net/patches/linux-kernel/2.6.0-test5/vicam-fix-debug-output.patch
When compiling vicam with debug info, a compile error occurs. I presume this is
because this part of the code has not been updated since the 2.4 kernels.
This patch fixes this.
Thanks.
--
Daniel Drake (dsd)
http://www.reactivated.net
--- linux-2.6.0-test5/drivers/usb/media/vicam.c 2003-09-09 08:50:01.000000000 +0100
+++ linux/drivers/usb/media/vicam.c 2003-09-16 21:44:57.169118912 +0100
@@ -1292,7 +1292,7 @@
interface = &intf->altsetting[0];
DBG(KERN_DEBUG "Interface %d. has %u. endpoints!\n",
- ifnum, (unsigned) (interface->desc.bNumEndpoints));
+ interface->desc.bInterfaceNumber, (unsigned)
(interface->desc.bNumEndpoints));
endpoint = &interface->endpoint[0].desc;
if ((endpoint->bEndpointAddress & 0x80) &&