summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-16 17:28:21 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-11-16 17:28:21 -0200
commite33f3357a8412f6941641fd3c40da7305987b03d (patch)
tree6e1d0b603c069d9030945bf87f446042f8e72dde /v4l
parent7261c59f9f24fea44aac4651b3f587be55ad2d80 (diff)
downloadmediapointer-dvb-s2-e33f3357a8412f6941641fd3c40da7305987b03d.tar.gz
mediapointer-dvb-s2-e33f3357a8412f6941641fd3c40da7305987b03d.tar.bz2
Fix driver for i386 architectures
From: Mauro Carvalho Chehab <mchehab@infradead.org> Also, fixed backporting up to 2.6.20 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h4
1 files changed, 4 insertions, 0 deletions
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