Commit b0599c01 authored by Rebecca Schultz Zavin's avatar Rebecca Schultz Zavin Committed by Greg Kroah-Hartman

gpu: ion: ion_system_heap: Fix bug preventing compilation

Signed-off-by: default avatarRebecca Schultz Zavin <rebecca@android.com>
[jstultz: modified patch to apply to staging directory]
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ba96a2ee
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment