summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEd Nash <enash54@gmail.com>2013-07-27 20:48:42 -0400
committerroshni.shah <roshni.shah@timesys.com>2014-01-04 19:33:22 -0500
commita62c3fe5e5d0836d963165fbaf2d3930f421beec (patch)
treeb31e01dcecf291b4a997601e48df6b249c67e495 /drivers
parent209802ceb34b37c59a7ee1f824f04f460d13f5d4 (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 36bad1eaa428..65525e1c25b3 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -621,7 +621,7 @@ static int __init i2c_imx_probe(struct platform_device *pdev)
#ifdef CONFIG_ARCH_MVF
// make sure not in use by MQX
- if(mvf_sema4_assign(3, true, &sema4)) {
+ if(mvf_sema4_assign(MCC_I2C_SEMAPHORE_NUMBER, true, &sema4)) {
dev_err(&pdev->dev, "could not grab MQX semaphore\n");
goto fail5;
}