[PATCH] Drop I2C_M_IGNORE_NAK compatibility bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
---
 v4l/compat.h |    4 ----
 1 file changed, 4 deletions(-)

--- 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 */


-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux