summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-06-19 17:23:16 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-20 14:35:34 -0400
commit0b6eff29656a4ee3d3d0bf94fd6a6328ded4ac7a (patch)
treecb1616dcada7646deef27e1bfec789be73ae927b /drivers/gpu/nvgpu/common
parent9f65627d0edaa45d914d2d180caf1b687e3c0d09 (diff)
gpu: nvgpu: Pass struct gk20a to secure alloc
Pass struct gk20a to secure alloc API instead of Linux specific struct device. JIRA NVGPU-38 Change-Id: I6d9afaeeff9b957351072caa29690f2caf58f858 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1505179 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r--drivers/gpu/nvgpu/common/linux/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/module.c b/drivers/gpu/nvgpu/common/linux/module.c
index b1638b9e..ec18df15 100644
--- a/drivers/gpu/nvgpu/common/linux/module.c
+++ b/drivers/gpu/nvgpu/common/linux/module.c
@@ -984,7 +984,7 @@ static int __exit gk20a_remove(struct platform_device *pdev)
984 gk20a_remove_sysfs(dev); 984 gk20a_remove_sysfs(dev);
985 985
986 if (platform->secure_buffer.destroy) 986 if (platform->secure_buffer.destroy)
987 platform->secure_buffer.destroy(dev, 987 platform->secure_buffer.destroy(g,
988 &platform->secure_buffer); 988 &platform->secure_buffer);
989 989
990 if (pm_runtime_enabled(dev)) 990 if (pm_runtime_enabled(dev))