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.

Here is a patch to fix this, also available at http://www.reactivated.net/patches/linux-kernel/2.6.0-test5/vicam-debug-output-fix.patch

Feedback is appreciated, because I am new to kernel development :)

--

--- 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 18:49:10.053524200 +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) &&


-- Daniel Drake (dsd) http://www.reactivated.net




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to