File qc-usb.pt_regs.patch of Package quickcam

---
 qc-driver.c |    8 --------
 1 file changed, 8 deletions(-)

Index: qc-usb-0.6.4/qc-driver.c
===================================================================
--- qc-usb-0.6.4.orig/qc-driver.c
+++ qc-usb-0.6.4/qc-driver.c
@@ -632,11 +632,7 @@ nourbs:	id->packets = 0;	/* No more URBs
  * - Camera is still connected (qc->connected == TRUE)
  * - There is still commands to be sent in commands buffer or pid=0x850 and finalization packet is not yet sent.
  */
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
-static void qc_i2c_handler(struct urb *urb, struct pt_regs *ptregs)
-#else
 static void qc_i2c_handler(struct urb *urb)
-#endif
 {
 	struct quickcam *qc = urb->context;
 
@@ -1724,11 +1720,7 @@ static int qc_stream_add(struct quickcam
  * - Camera was disconnected
  * - There are too many transfer errors
  */
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
-static void qc_isoc_handler(struct urb *urb, struct pt_regs *ptregs)
-#else
 static void qc_isoc_handler(struct urb *urb)
-#endif
 {
 	struct quickcam *qc;
 	int payload = 0;	/* Amount of all data camera sent */
openSUSE Build Service is sponsored by