summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-03 13:56:12 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-03 13:56:12 +0000
commit01a7001ac3872b08071cd0d9308930da838fe6b6 (patch)
tree5a0630700d5889292baf488aa6e08f5b98f25b20 /v4l
parent1bf54ffc543bd87a7e01c3163b3bfc64191a432e (diff)
downloadmediapointer-dvb-s2-01a7001ac3872b08071cd0d9308930da838fe6b6.tar.gz
mediapointer-dvb-s2-01a7001ac3872b08071cd0d9308930da838fe6b6.tar.bz2
Drop I2C_M_IGNORE_NAK compatibility bit
From: Jean Delvare <khali@linux-fr.org> I2C_M_IGNORE_NAK is defined since kernel 2.5.54 so we don't need to declare it in the compatibility header. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 207cd3033..3df844c87 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -49,10 +49,6 @@
# define __pure __attribute__((pure))
#endif
-#ifndef I2C_M_IGNORE_NAK
-# define I2C_M_IGNORE_NAK 0x1000
-#endif
-
/* device_create/destroy added in 2.6.18 */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
/* on older kernels, class_device_create will in turn be a compat macro */