summaryrefslogtreecommitdiff
path: root/include/uapi/linux/i2c.h
AgeCommit message (Collapse)AuthorFilesLines
2016-04-11i2c: guarantee that I2C_M_RD will be 0x0001 foreverWolfram Sang1-6/+7
There is code out there in user space and kernel space which relies on I2C_M_RD being bit 0 to simplify their bit operations. Add a comment to make sure this will never break. Do proper sorting of the defines while we are here. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2015-06-01i2c: add FUNC flag for slave capabilitiesWolfram Sang1-0/+1
So users can check in advance if there is slave support. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2012-10-13UAPI: (Scripted) Disintegrate include/linuxDavid Howells1-0/+151
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>