diff options
author | Simon Glass <sjg@chromium.org> | 2015-01-12 18:02:07 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-29 17:09:53 -0700 |
commit | f9a4c2da72d04e13b05deecb800f232d2948eb85 (patch) | |
tree | f0b35b2c40e28bb20a40f2abce1c441f908a6357 /board/avionic-design | |
parent | a08d643dbd855df837724a582babc55e82bd03b7 (diff) | |
download | u-boot-f9a4c2da72d04e13b05deecb800f232d2948eb85.tar.gz u-boot-f9a4c2da72d04e13b05deecb800f232d2948eb85.tar.bz2 u-boot-f9a4c2da72d04e13b05deecb800f232d2948eb85.zip |
dm: i2c: Rename driver model I2C functions to permit compatibility
Add a dm_ prefix to driver model I2C functions so that we can keep the old
ones around.
This is a little unfortunate, but on reflection it is too difficult to
change the API. We can undo this rename when most boards and drivers are
converted to use driver model for I2C.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/avionic-design')
-rw-r--r-- | board/avionic-design/common/tamonten-ng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/avionic-design/common/tamonten-ng.c b/board/avionic-design/common/tamonten-ng.c index 86a0844273..bca91831e0 100644 --- a/board/avionic-design/common/tamonten-ng.c +++ b/board/avionic-design/common/tamonten-ng.c @@ -60,7 +60,7 @@ void pmu_write(uchar reg, uchar data) debug("%s: Cannot find PMIC I2C chip\n", __func__); return; } - i2c_write(dev, reg, &data, 1); + dm_i2c_write(dev, reg, &data, 1); } /* |