commit | fffff7268b6c30dc7058d3615021628d4f60fac5 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Feb 05 21:41:33 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Feb 12 10:35:33 2015 -0700 |
tree | 5927701b5924f1a49b65f79339eaf02c706b0a3b | |
parent | ca88b9b93916f66c6737527aa955d2c1b4758080 [diff] |
dm: i2c: Make API accessible even without CONFIG_DM 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> Acked-by: Heiko Schocher <hs@denx.de>