summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2011-06-20 15:42:58 +0900
committerRohan Somvanshi <rsomvanshi@nvidia.com>2011-06-24 05:45:07 -0700
commit0fcad122637727d59adac9551ba6742eb42c945a (patch)
tree2bcb0b7ac2b8b40c3c2b48f662830153898ed02c /drivers
parent818572709891af4fe8c574dfea64310de473acd6 (diff)
tegra: dc: fix compilation with lock debugging
Fix incorrect invocation of mutex_destroy that results in a compile error if mutex debugging features are enabled. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Change-Id: I4f5ce4406e11b94d108f0e0b09b2d4a77d902ac6 Reviewed-on: http://git-master/r/37435 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/tegra/dc/dsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c
index 610c316bb358..49a0e584a103 100644
--- a/drivers/video/tegra/dc/dsi.c
+++ b/drivers/video/tegra/dc/dsi.c
@@ -1439,7 +1439,7 @@ static void tegra_dc_dsi_destroy(struct tegra_dc *dc)
mutex_unlock(&dsi->lock);
- mutex_destroy(dsi->lock);
+ mutex_destroy(&dsi->lock);
kfree(dsi);
}