
On 6 February 2015 at 00:15, Heiko Schocher hs@denx.de wrote:
Hello Simon,
Am 06.02.2015 05:41, schrieb Simon Glass:
Make the driver model I2C API available always, even if driver model is not enabled. This allows for a 'soft' switch-over, where drivers can use the new structures in code which is compiled but not yet used. This makes migration easier in some cases.
Fix up the existing drivers which define their own 'struct i2c_msg'.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2:
Add a patch to squash use of 'struct i2c_msg' in drivers
drivers/i2c/adi_i2c.c | 6 +++--- drivers/i2c/kona_i2c.c | 16 ++++++++-------- drivers/i2c/mv_i2c.c | 10 +++++----- include/i2c.h | 5 +---- 4 files changed, 17 insertions(+), 20 deletions(-)
Acked-by: Heiko Schocher hs@denx.de
Applied to u-boot-dm.