commit a9ad673b8092fe223f8d52128a9af047d18aa42e
parent 2bf3b305535fb7c3a7c9c0c0a5de9d7035b856ce
Author: alex <alex@022568fa-442e-4ef8-a3e8-54dcafdb011a>
Date: Fri, 18 Jan 2008 06:34:16 +0000
Small fix where we were returning an incompatible pointer.
git-svn-id: http://svn.mediati.org/svn/r5u870/trunk@42 022568fa-442e-4ef8-a3e8-54dcafdb011a
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usbcam/usbcam_buf.c b/usbcam/usbcam_buf.c
@@ -148,7 +148,7 @@ void usbcam_capture_stop(struct usbcam_dev *udp)
static inline struct videobuf_dmabuf* usbframe_get_dmabuf(struct videobuf_buffer *buf)
{
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
- return buf->dma;
+ return &buf->dma;
#else
return videobuf_to_dma(buf);
#endif