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: kbuild test robot <lkp@intel.com>
Signed-off-by: Sandeep Patil <sspatil@google.com>
This commit is contained in:
Sandeep Patil 2019-10-09 21:38:04 -07:00 committed by Alistair Delva
commit b395fa76de

View file

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