summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Nash <enash54@gmail.com>2013-07-27 23:23:52 -0400
committerEd Nash <enash54@gmail.com>2013-07-27 23:23:52 -0400
commit625af91c5ecb9254375d471a0b4589d5264c7465 (patch)
treea3cf61bc76c5b32cfe2a83ba2cd223944695634c
parent9e63e5a28b39116bfa9e68bb1e3c3ab2c2d87d84 (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 65525e1c25b3..60d2f40420aa 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(MCC_I2C_SEMAPHORE_NUMBER, true, &sema4)) {
+ if(mvf_sema4_assign(MVF_I2C_SEMAPHORE_NUMBER, true, &sema4)) {
dev_err(&pdev->dev, "could not grab MQX semaphore\n");
goto fail5;
}