From 57ea94454142fbcc02364cccf1081a45856a54f6 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 9 Jan 2007 12:18:11 -0200 Subject: Fix compilation on some webcams From: Mauro Carvalho Chehab The recent updates on some webcams replaced vmalloc_32 by vmallo_32_user. However, it seems that this doesn't exist before kernel 2.6.19 Signed-off-by: Mauro Carvalho Chehab --- v4l/compat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v4l/compat.h b/v4l/compat.h index 19d648d5e..a4f66eee2 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -313,6 +313,8 @@ usb_to_input_id(const struct usb_device *dev, struct input_id *id) #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) # define PCIAGP_FAIL 0 + +#define vmalloc_32_user(a) vmalloc_32(a) #endif #ifndef true -- cgit v1.2.3