system_contig heap is very restrictive to be used by graphic/multimedia
use. Since it relies on the page allocator even for the large
physically contiguous buffers.
Let's kill system_contig heap to prevent users from confusion.
Change-Id: Id5bcca56d2139b95c706c5068d797f77904d4888
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
return heap;
}
-static int ion_system_contig_heap_create(void)
+static int __maybe_unused ion_system_contig_heap_create(void)
{
struct ion_heap *heap;
ion_device_add_heap(heap);
return 0;
}
-subsys_initcall_sync(ion_system_contig_heap_create);