Better to put them in text form:
diff -Naur trunk/uvc_driver.c trunk.new/uvc_driver.c
--- trunk/uvc_driver.c 2008-08-04 10:50:30.000000000 +0000
+++ trunk.new/uvc_driver.c 2008-08-04 11:02:57.000000000 +0000
@@ -1466,8 +1466,8 @@
#else
vdev->parent = &dev->intf->dev;
#endif
- vdev->type = 0;
- vdev->type2 = 0;
+// vdev->type = 0;
+// vdev->type2 = 0;
vdev->minor = -1;
vdev->fops = &uvc_fops;
vdev->release = video_device_release;
diff -Naur trunk/uvc_queue.c trunk.new/uvc_queue.c
--- trunk/uvc_queue.c 2008-08-04 10:50:30.000000000 +0000
+++ trunk.new/uvc_queue.c 2008-08-04 11:02:57.000000000 +0000
@@ -20,7 +20,7 @@
#include <linux/vmalloc.h>
#include <linux/wait.h>
#include <asm/atomic.h>
-
+#include <linux/mm.h>
#include "uvcvideo.h"
/* ------------------------------------------------------------------------
@@ -98,6 +98,7 @@
unsigned int buflength)
{
unsigned int bufsize = PAGE_ALIGN(buflength);
+// unsigned int bufsize = buflength;
unsigned int i;
void *mem = NULL;
int ret;
==================================================
Wei-Tsun Sun
Department of Electrical and Computer Engineering
University of Auckland, New Zealand
Private Bag 92019
38 Princess Street
Science Centre (Building 301, level 3, room 235)
Auckland
New Zealand
Phone: +64 9 3737599 ext. 87060
http://www.ece.auckland.ac.nz/~wsun013/
==================================================
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel