summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/allocator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/allocator.h b/drivers/gpu/nvgpu/include/nvgpu/allocator.h
index 4eb76985..3579b0fb 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/allocator.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/allocator.h
@@ -281,7 +281,10 @@ static inline void nvgpu_alloc_disable_dbg(struct nvgpu_allocator *a)
281 */ 281 */
282extern u32 nvgpu_alloc_tracing_on; 282extern u32 nvgpu_alloc_tracing_on;
283 283
284#ifdef CONFIG_DEBUG_FS
285struct device;
284void nvgpu_alloc_debugfs_init(struct device *dev); 286void nvgpu_alloc_debugfs_init(struct device *dev);
287#endif
285 288
286#define nvgpu_alloc_trace_func() \ 289#define nvgpu_alloc_trace_func() \
287 do { \ 290 do { \