summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
index 52a34086..1f32ac6d 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
@@ -658,7 +658,7 @@ void gk20a_remove_sysfs(struct device *dev)
658 device_remove_file(dev, &dev_attr_tpc_fs_mask); 658 device_remove_file(dev, &dev_attr_tpc_fs_mask);
659 659
660 if (g->host1x_dev && (dev->parent != &g->host1x_dev->dev)) 660 if (g->host1x_dev && (dev->parent != &g->host1x_dev->dev))
661 sysfs_remove_link(&dev->kobj, dev_name(dev)); 661 sysfs_remove_link(&g->host1x_dev->dev.kobj, dev_name(dev));
662} 662}
663 663
664void gk20a_create_sysfs(struct platform_device *dev) 664void gk20a_create_sysfs(struct platform_device *dev)