diff mbox

Drop I2C_M_IGNORE_NAK compatibility bit

Message ID 20090303145612.67ffdb90@hyperion.delvare (mailing list archive)
State Accepted
Headers show

Commit Message

Jean Delvare March 3, 2009, 1:56 p.m. UTC
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>
---
 v4l/compat.h |    4 ----
 1 file changed, 4 deletions(-)
diff mbox

Patch

--- v4l-dvb.orig/v4l/compat.h	2009-03-01 16:09:10.000000000 +0100
+++ v4l-dvb/v4l/compat.h	2009-03-03 14:39:16.000000000 +0100
@@ -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 */