gpu: ion: ion_system_heap: Fix bug preventing compilation

Change-Id: I91d77492b99d09c7abdfaa09df280a20ee83f428
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
This commit is contained in:
Rebecca Schultz Zavin
2012-09-26 10:58:30 -07:00
committed by Arve Hjønnevåg
parent 49cfb6da44
commit 488243b4b5

View File

@@ -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;