gpu: ion: ion_system_heap: Fix bug preventing compilation
Change-Id: I0f241e0fc500f2bee25f80f5fce1224fa6591be8
Git-commit: c458c57ac8e6eb94fad10d8d9ffa8f1c53f94561
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
diff --git a/drivers/gpu/ion/ion_system_heap.c b/drivers/gpu/ion/ion_system_heap.c
index 2bffafb..7b6f8bb 100644
--- a/drivers/gpu/ion/ion_system_heap.c
+++ b/drivers/gpu/ion/ion_system_heap.c
@@ -40,11 +40,12 @@
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;