aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/android
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2017-06-30 21:34:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-16 08:41:01 +0200
commit85bcd624399cd4feebd1f41be0079489c9cfec7f (patch)
treea5f4df43c4fe25339e5a75361b3b3f33b0079f58 /drivers/staging/android
parentstaging: fsl-dpaa2/eth: Remove dead code (diff)
downloadlinux-dev-85bcd624399cd4feebd1f41be0079489c9cfec7f.tar.xz
linux-dev-85bcd624399cd4feebd1f41be0079489c9cfec7f.zip
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 <gregkh@linuxfoundation.org> Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r--drivers/staging/android/ion/ion_cma_heap.c2
1 files changed, 1 insertions, 1 deletions
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;