diff options
author | Simon Glass <sjg@chromium.org> | 2015-02-05 21:41:33 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-02-12 10:35:33 -0700 |
commit | fffff7268b6c30dc7058d3615021628d4f60fac5 (patch) | |
tree | 5927701b5924f1a49b65f79339eaf02c706b0a3b /drivers/pci | |
parent | ca88b9b93916f66c6737527aa955d2c1b4758080 (diff) | |
download | u-boot-imx-fffff7268b6c30dc7058d3615021628d4f60fac5.zip u-boot-imx-fffff7268b6c30dc7058d3615021628d4f60fac5.tar.gz u-boot-imx-fffff7268b6c30dc7058d3615021628d4f60fac5.tar.bz2 |
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>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions