summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEd Nash <enash54@gmail.com>2013-07-27 23:23:52 -0400
committerroshni.shah <roshni.shah@timesys.com>2014-01-04 19:33:23 -0500
commit4d3dd5cc683366381bcdd4c1e601da04350010f6 (patch)
treea3cf61bc76c5b32cfe2a83ba2cd223944695634c /drivers
parenta62c3fe5e5d0836d963165fbaf2d3930f421beec (diff)
fix gate number constant
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 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;
}