summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEd Nash <enash54@gmail.com>2013-07-27 20:48:42 -0400
committerEd Nash <enash54@gmail.com>2013-07-27 20:58:12 -0400
commit9e63e5a28b39116bfa9e68bb1e3c3ab2c2d87d84 (patch)
treeb31e01dcecf291b4a997601e48df6b249c67e495 /drivers
parent93f168cd8bf00be896407108e8bdd761cc97ad9b (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;
}