From d01997e6d0692882700d9deb985cebcd5424dcdb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Mon, 2 Jul 2012 17:22:12 +0300 Subject: [PATCH] compat: Define I2C_FUNC_NOSTART MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This backports: commit 14674e70119ea01549ce593d8901a797f8a90f74 Author: Mark Brown 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 Signed-off-by: Luis R. Rodriguez --- include/linux/compat-3.5.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/linux/compat-3.5.h b/include/linux/compat-3.5.h index 7855ac986750..6bb450da208d 100644 --- a/include/linux/compat-3.5.h +++ b/include/linux/compat-3.5.h @@ -113,6 +113,17 @@ static inline int compat_vga_switcheroo_register_client(struct pci_dev *dev, #endif +/* This backports + * + * commit 14674e70119ea01549ce593d8901a797f8a90f74 + * Author: Mark Brown + * 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: * -- 2.30.2