mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
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:
committed by
Alistair Delva
parent
72b09c63e4
commit
b395fa76de
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user