diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-01-09 12:18:11 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-01-09 12:18:11 -0200 |
commit | 57ea94454142fbcc02364cccf1081a45856a54f6 (patch) | |
tree | b59ccc8a137dbc9d0f197f4cc844715072a41741 | |
parent | d0651bdd2bd96a6f1f6cc6d512c0f43c99f5aa24 (diff) | |
download | mediapointer-dvb-s2-57ea94454142fbcc02364cccf1081a45856a54f6.tar.gz mediapointer-dvb-s2-57ea94454142fbcc02364cccf1081a45856a54f6.tar.bz2 |
Fix compilation on some webcams
From: Mauro Carvalho Chehab <mchehab@infradead.org>
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 <mchehab@infradead.org>
-rw-r--r-- | v4l/compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |