This is probably a stupid question. Any hints on how to elegantly deal
with 2.4 vs 2.5 usb_submit_urb arguments? For the moment (hack hack hack)
i've got[1]:
#ifdef EV_SYN
if(usb_submit_urb(kbtab->irq, GFP_KERNEL))
return -EIO;
#else
if(usb_submit_urb(kbtab->irq))
return -EIO;
#endif
But i'm guessing there's some official way to tell between the two? Or
should i just give up hope and do two .c's, one for 2.4 and the other for
2.5?
Thanks in advance,
[1] the following was tempting but excessively clever and evil:
if(usb_submit_urb(kbtab->irq
#ifdef EV_SYN
, GFP_KERNEL
#endif
))
return -EIO;
--
/jbm, but you can call me Josh. Really, you can!
"What's a metaphor?" "For sheep to graze in"
7958 1C1C 306A CDF8 4468 3EDE 1F93 F49D 5FA1 49C4
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel