Skip to contentSkip to conversation

Drop I2C_M_IGNORE_NAK compatibility bit

PATCH New Jean Delvare 1 participant 1 message Mar 3, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Drop I2C_M_IGNORE_NAK compatibility bit

I2C_M_IGNORE_NAK is defined since kernel 2.5.54 so we don't need to declare it in the compatibility header.

---
 v4l/compat.h |    4 ----
 1 file changed, 4 deletions(-)
v4l/compat.h +0 -4
@@ -41,10 +41,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 */
Signature · 1 line
Jean Delvare