summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Nash <enash54@gmail.com>2013-07-27 23:23:52 -0400
committerAnthony Felice <tony.felice@timesys.com>2013-10-09 13:24:20 -0400
commitc2c61ea51de7997ee84a235534573e89dca3ccb6 (patch)
treed584df569ed98ce8fde7bd7e42a974d09e706ec2
parent77b769e7d4a80f62a45e141602c3307aa9b6b16a (diff)
fix gate number constant
-rw-r--r--drivers/i2c/busses/i2c-imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index 8cc086247245..b165d9296522 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -441,7 +441,7 @@ static int i2c_imx_xfer(struct i2c_adapter *adapter,
// since this can get called before probe, assign happens here
if(!sema4)
{
- result = mvf_sema4_assign(MCC_I2C_SEMAPHORE_NUMBER, true, &sema4);
+ result = mvf_sema4_assign(MVF_I2C_SEMAPHORE_NUMBER, true, &sema4);
if(result) {
printk(KERN_ERR "can't assign sema4 %s %s exiting.\n",__FILE__,__func__);
return result;