Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b395fa76 authored by Sandeep Patil's avatar Sandeep Patil Committed by Alistair Delva
Browse files

ANDROID: staging: ion: fix sparse warning in ion system heap



drivers/staging/android/ion/heaps/ion_system_heap.c:250:24: sparse: sparse:
symbol 'system_heap' was not declared. Should it be static?

Fixes: 142434553
Test: Build and boot cuttlefish

Change-Id: I6e1eb9365ca12c2d081533ed2db9881086531ec7
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarSandeep Patil <sspatil@google.com>
parent 72b09c63
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ static struct ion_heap_ops system_heap_ops = {
	.shrink = ion_system_heap_shrink,
};

struct ion_system_heap system_heap = {
static struct ion_system_heap system_heap = {
	.heap = {
		.ops = &system_heap_ops,
		.type = ION_HEAP_TYPE_SYSTEM,