From: Kamal Heib Date: Fri, 30 Jun 2017 18:34:43 +0000 (+0300) Subject: staging: android: ion: statify __ion_add_cma_heaps X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=85bcd624399cd4feebd1f41be0079489c9cfec7f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: android: ion: statify __ion_add_cma_heaps Fix the following sparse warning: symbol '__ion_add_cma_heaps' was not declared. Should it be static? Cc: Greg Kroah-Hartman Signed-off-by: Kamal Heib Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/android/ion/ion_cma_heap.c b/drivers/staging/android/ion/ion_cma_heap.c index a0949bc0dcf4..c6db9b726002 100644 --- a/drivers/staging/android/ion/ion_cma_heap.c +++ b/drivers/staging/android/ion/ion_cma_heap.c @@ -106,7 +106,7 @@ static struct ion_heap *__ion_cma_heap_create(struct cma *cma) return &cma_heap->heap; } -int __ion_add_cma_heaps(struct cma *cma, void *data) +static int __ion_add_cma_heaps(struct cma *cma, void *data) { struct ion_heap *heap;