i2c: core changes for slave support
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 18 Nov 2014 16:04:53 +0000 (17:04 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 11 Dec 2014 21:25:53 +0000 (22:25 +0100)
Finally(!), make Linux support being an I2C slave. Most of the existing
infrastructure is reused. We mainly add i2c_slave_register/unregister()
calls which tells i2c bus drivers to activate the slave mode. Then, they
also get a callback to report slave events to.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core.c
include/linux/i2c.h

Simple merge
Simple merge