compat: Define I2C_FUNC_NOSTART
authorOzan Çağlayan <ozancag@gmail.com>
Mon, 2 Jul 2012 14:22:12 +0000 (17:22 +0300)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Tue, 3 Jul 2012 00:08:36 +0000 (17:08 -0700)
This backports:

 commit 14674e70119ea01549ce593d8901a797f8a90f74
 Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
 Date:   Wed May 30 10:55:34 2012 +0200

     i2c: Split I2C_M_NOSTART support out of I2C_FUNC_PROTOCOL_MANGLING

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
include/linux/compat-3.5.h

index 7855ac9867509e6559304981b1e0a4450a7edf93..6bb450da208d64812ae876eeff39b9d10053620c 100644 (file)
@@ -113,6 +113,17 @@ static inline int compat_vga_switcheroo_register_client(struct pci_dev *dev,
 
 #endif
 
+/* This backports
+ *
+ * commit 14674e70119ea01549ce593d8901a797f8a90f74
+ * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
+ * Date:   Wed May 30 10:55:34 2012 +0200
+ *
+ *     i2c: Split I2C_M_NOSTART support out of I2C_FUNC_PROTOCOL_MANGLING
+ */
+
+#define I2C_FUNC_NOSTART 0x00000010 /* I2C_M_NOSTART */
+
 /*
  * This backports:
  *