From 488243b4b515dcbf97d5225d75674b6bee98af73 Mon Sep 17 00:00:00 2001 From: Rebecca Schultz Zavin Date: Wed, 26 Sep 2012 10:58:30 -0700 Subject: [PATCH] gpu: ion: ion_system_heap: Fix bug preventing compilation Change-Id: I91d77492b99d09c7abdfaa09df280a20ee83f428 Signed-off-by: Rebecca Schultz Zavin --- drivers/gpu/ion/ion_system_heap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/ion/ion_system_heap.c b/drivers/gpu/ion/ion_system_heap.c index 00c91fe09d31..7b441926a761 100644 --- a/drivers/gpu/ion/ion_system_heap.c +++ b/drivers/gpu/ion/ion_system_heap.c @@ -31,11 +31,12 @@ struct page_info { struct list_head list; }; +static unsigned int orders[] = {8, 4, 0}; + static struct page_info *alloc_largest_available(unsigned long size, bool split_pages, unsigned int max_order) { - static unsigned int orders[] = {8, 4, 0}; struct page *page; struct page_info *info; int i; -- 2.34.1