summaryrefslogtreecommitdiff
path: root/drivers/gpu/msm/adreno_profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/msm/adreno_profile.c')
-rw-r--r--drivers/gpu/msm/adreno_profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/msm/adreno_profile.c b/drivers/gpu/msm/adreno_profile.c
index 5d5eedcaa798..1f73db223a0a 100644
--- a/drivers/gpu/msm/adreno_profile.c
+++ b/drivers/gpu/msm/adreno_profile.c
@@ -1108,7 +1108,7 @@ void adreno_profile_close(struct adreno_device *adreno_dev)
profile->log_tail = NULL;
profile->shared_head = 0;
profile->shared_tail = 0;
- kgsl_free_global(&profile->shared_buffer);
+ kgsl_free_global(&adreno_dev->dev, &profile->shared_buffer);
profile->shared_size = 0;
profile->assignment_count = 0;