From 01a7001ac3872b08071cd0d9308930da838fe6b6 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 3 Mar 2009 13:56:12 +0000 Subject: Drop I2C_M_IGNORE_NAK compatibility bit From: Jean Delvare 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 Signed-off-by: Mauro Carvalho Chehab --- v4l/compat.h | 4 ---- 1 file changed, 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 */ -- cgit v1.2.3