r5u870

Ricoh R5U870 Linux Driver
git clone https://logand.com/git/r5u870.git/
Log | Files | Refs | README | LICENSE

commit f4dbe84c603ca149e5a5659decc8933eb7aaf398
parent 2a8386a6af76c11e58cd3848361e607c40ad84a4
Author: alex <alex@022568fa-442e-4ef8-a3e8-54dcafdb011a>
Date:   Sat,  5 Jul 2008 08:09:20 +0000

Better patch for latest issue.


git-svn-id: http://svn.mediati.org/svn/r5u870/trunk@92 022568fa-442e-4ef8-a3e8-54dcafdb011a

Diffstat:
Musbcam/usbcam_priv.h | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/usbcam/usbcam_priv.h b/usbcam/usbcam_priv.h @@ -63,12 +63,13 @@ (((EPD)->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) #define usb_autopm_get_interface(X) 0 #define usb_autopm_put_interface(X) -#else +#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) */ + +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25) #if !defined(videobuf_queue_pci_init) #define videobuf_queue_pci_init videobuf_queue_sg_init #endif -#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) */ - +#endif /* * When creating a minidriver that is not part of the core kernel, it