All pastes #2035004 Raw Edit

Fix usb_buffer_alloc/usb_buffer_

public text v1 · immutable
#2035004 ·published 2010-12-31 11:49 UTC
rendered paste body
diff -r f6ba4e16addd -r 378e86913081 v4l/compat.h
--- a/v4l/compat.h	Fri Dec 31 12:26:51 2010 +0100
+++ b/v4l/compat.h	Fri Dec 31 12:33:14 2010 +0100
@@ -14,7 +14,7 @@
 #define INIT_DELAYED_WORK(a,b,c)	INIT_WORK(a,b,c)
 #endif
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 34)
 #define usb_buffer_alloc(dev, size, mem_flags, dma) usb_alloc_coherent(dev, size, mem_flags, dma)
 #define usb_buffer_free(dev, size, addr, dma) usb_free_coherent(dev, size, addr, dma)
 #endif