summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2012-08-13 09:53:12 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:25 +0200
commitfa7a51cb8272bd6076ea4701fd6bdc65a68703ba (patch)
treeb1dd7f9cc3921fb5eb1cd0cbd9a34b1e197f7ae9 /drivers/i2c
parentaf963ba8f4f301475d13faa42b5dec8f0ed3c23a (diff)
downloadu-boot-fa7a51cb8272bd6076ea4701fd6bdc65a68703ba.tar.gz
u-boot-fa7a51cb8272bd6076ea4701fd6bdc65a68703ba.tar.bz2
u-boot-fa7a51cb8272bd6076ea4701fd6bdc65a68703ba.zip
mxs: Convert sys_proto.h prefixes to 'mxs'
The sys_proto.h functions (except the boot modes) are compatible with i.MX233 and i.MX28 so we use 'mxs' prefix for its methods. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/mxs_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/mxs_i2c.c b/drivers/i2c/mxs_i2c.c
index 5d61d7a843..2a193c220d 100644
--- a/drivers/i2c/mxs_i2c.c
+++ b/drivers/i2c/mxs_i2c.c
@@ -41,7 +41,7 @@ void mxs_i2c_reset(void)
struct mxs_i2c_regs *i2c_regs = (struct mxs_i2c_regs *)MXS_I2C0_BASE;
int ret;
- ret = mx28_reset_block(&i2c_regs->hw_i2c_ctrl0_reg);
+ ret = mxs_reset_block(&i2c_regs->hw_i2c_ctrl0_reg);
if (ret) {
debug("MXS I2C: Block reset timeout\n");
return;