mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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>
This commit is contained in:
committed by
mobile promotions
parent
9f65627d0e
commit
0b6eff2965
@@ -984,7 +984,7 @@ static int __exit gk20a_remove(struct platform_device *pdev)
|
||||
gk20a_remove_sysfs(dev);
|
||||
|
||||
if (platform->secure_buffer.destroy)
|
||||
platform->secure_buffer.destroy(dev,
|
||||
platform->secure_buffer.destroy(g,
|
||||
&platform->secure_buffer);
|
||||
|
||||
if (pm_runtime_enabled(dev))
|
||||
|
||||
Reference in New Issue
Block a user