Web lists-archives.com

[Spca50x-devs] [PATCH][gspca-01.00.10] Fix spca50x_isoc_irq() prototype for 2.6.19




Trivial fix  spca50x_isoc_irq() prototype for 2.6.19 kernel
-- 
Regards,
Serge A. Suchkov
--
Stupidity got us into this mess -- why can't it get us out?
diff -u -r -N ../gspcav1-01.00.10/gspca_core.c gspcav1-01.00.10/gspca_core.c
--- ../gspcav1-01.00.10/gspca_core.c	2006-12-04 20:12:50.000000000 +0300
+++ gspcav1-01.00.10/gspca_core.c	2006-12-13 03:16:47.000000000 +0300
@@ -150,8 +150,13 @@
     ("Michel Xhaard <mxhaard@xxxxxxxxxxxxxxxxxxxxx> based on spca50x driver by Joel Crisp <cydergoth@xxxxxxxxxxxxxxxxxxxxx>,ov511 driver by Mark McClelland <mwm@xxxx>");
 MODULE_DESCRIPTION("GSPCA/SPCA5XX USB Camera Driver");
 MODULE_LICENSE("GPL");
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
 static void
 spca50x_isoc_irq(struct urb *urb, struct pt_regs *regs);
+#else
+static void
+spca50x_isoc_irq(struct urb *urb);
+#endif
 static int spca50x_move_data(struct usb_spca50x *spca50x, struct urb *urb);
 static int spca5xx_set_light_freq(struct usb_spca50x *spca50x, int freq);
 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs