summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEd Nash <enash54@gmail.com>2013-07-27 20:48:42 -0400
committerAnthony Felice <tony.felice@timesys.com>2013-10-09 13:24:18 -0400
commit77b769e7d4a80f62a45e141602c3307aa9b6b16a (patch)
treeb6346323fa352c02441b36b67859e77c03f9972e /drivers
parent3abca4252d936bd13c5e18aa1d7a5c6ad5c8a256 (diff)
add debugfs statistics and some code cleanup
Diffstat (limited to 'drivers')
-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 853e0688998e..8cc086247245 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(3, true, &sema4);
+ result = mvf_sema4_assign(MCC_I2C_SEMAPHORE_NUMBER, true, &sema4);
if(result) {
printk(KERN_ERR "can't assign sema4 %s %s exiting.\n",__FILE__,__func__);
return result;