diff options
author | Ed Nash <enash54@gmail.com> | 2013-07-27 20:48:42 -0400 |
---|---|---|
committer | Anthony Felice <tony.felice@timesys.com> | 2013-10-09 12:56:35 -0400 |
commit | 2be74c0a9a3b7a2eeb2076c2146ea5218b4e0a41 (patch) | |
tree | 6c5bc93662aced163a704a5c6bbd6f5ed206671f /drivers | |
parent | 145626078f6ed903c95fbbf1883d4d3d70433c92 (diff) |
add debugfs statistics and some code cleanup
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/busses/i2c-imx.c | 2 |
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; |