summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a_allocator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_allocator.c b/drivers/gpu/nvgpu/gk20a/gk20a_allocator.c
index 3694c96d..a7378956 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a_allocator.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a_allocator.c
@@ -507,7 +507,7 @@ static int balloc_split_buddy(struct gk20a_allocator *a, struct gk20a_buddy *b,
507 * 507 *
508 * @a must be locked. 508 * @a must be locked.
509 */ 509 */
510void balloc_alloc_buddy(struct gk20a_allocator *a, struct gk20a_buddy *b) 510static void balloc_alloc_buddy(struct gk20a_allocator *a, struct gk20a_buddy *b)
511{ 511{
512 struct rb_node **new = &(a->alloced_buddies.rb_node); 512 struct rb_node **new = &(a->alloced_buddies.rb_node);
513 struct rb_node *parent = NULL; 513 struct rb_node *parent = NULL;