summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c')
-rw-r--r--drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c b/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c
index b84855b5..115a0904 100644
--- a/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c
+++ b/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c
@@ -150,13 +150,13 @@ int __nvgpu_alloc_common_init(struct nvgpu_allocator *a, struct gk20a *g,
150 return 0; 150 return 0;
151} 151}
152 152
153#ifdef CONFIG_DEBUG_FS
153void nvgpu_alloc_print_stats(struct nvgpu_allocator *__a, 154void nvgpu_alloc_print_stats(struct nvgpu_allocator *__a,
154 struct seq_file *s, int lock) 155 struct seq_file *s, int lock)
155{ 156{
156 __a->ops->print_stats(__a, s, lock); 157 __a->ops->print_stats(__a, s, lock);
157} 158}
158 159
159#ifdef CONFIG_DEBUG_FS
160static int __alloc_show(struct seq_file *s, void *unused) 160static int __alloc_show(struct seq_file *s, void *unused)
161{ 161{
162 struct nvgpu_allocator *a = s->private; 162 struct nvgpu_allocator *a = s->private;