From e33f3357a8412f6941641fd3c40da7305987b03d Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 16 Nov 2007 17:28:21 -0200 Subject: Fix driver for i386 architectures From: Mauro Carvalho Chehab Also, fixed backporting up to 2.6.20 Signed-off-by: Mauro Carvalho Chehab --- v4l/compat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'v4l/compat.h') diff --git a/v4l/compat.h b/v4l/compat.h index 8df5afe2c..92cbd47ec 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -59,6 +59,10 @@ # define I2C_CLASS_TV_DIGITAL I2C_ADAP_CLASS_TV_DIGITAL #endif +#ifndef __pure +# define __pure __attribute__((pure)) +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,9) # define __user # define __kernel -- cgit v1.2.3