summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a_allocator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_allocator.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a_allocator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_allocator.c b/drivers/gpu/nvgpu/gk20a/gk20a_allocator.c
index d9e38200..3b20fa2e 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a_allocator.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a_allocator.c
@@ -168,9 +168,9 @@ void gk20a_fini_alloc_debug(struct gk20a_allocator *a)
168 debugfs_remove(a->debugfs_entry); 168 debugfs_remove(a->debugfs_entry);
169} 169}
170 170
171void gk20a_alloc_debugfs_init(struct platform_device *pdev) 171void gk20a_alloc_debugfs_init(struct device *dev)
172{ 172{
173 struct gk20a_platform *platform = platform_get_drvdata(pdev); 173 struct gk20a_platform *platform = dev_get_drvdata(dev);
174 struct dentry *gpu_root = platform->debugfs; 174 struct dentry *gpu_root = platform->debugfs;
175 175
176 gk20a_alloc_debugfs_root = debugfs_create_dir("allocators", gpu_root); 176 gk20a_alloc_debugfs_root = debugfs_create_dir("allocators", gpu_root);