commit 021aa053301921dd04530b69bb2b48ee03ece2dc parent f204801cac9cabbae387697b32c3b45bddf82e8b Author: alex <alex@022568fa-442e-4ef8-a3e8-54dcafdb011a> Date: Sat, 14 Jun 2008 12:30:52 +0000 Support late 2.6.25+ kernels. git-svn-id: http://svn.mediati.org/svn/r5u870/trunk@80 022568fa-442e-4ef8-a3e8-54dcafdb011a Diffstat:
M | usbcam/usbcam.h | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/usbcam/usbcam.h b/usbcam/usbcam.h @@ -750,6 +750,15 @@ extern int usbcam_urbstream_config_bulk(struct usbcam_urbstream *usp, #endif #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) */ +#else + +#if !defined(videobuf_queue_pci_init) +#if defined(videobuf_queue_sg_init) +#define videobuf_queue_pci_init videobuf_queue_sg_init +#endif +#endif + #endif /* __KERNEL__ */ + #endif /* __USBCAM_H__ */