summaryrefslogtreecommitdiff
path: root/drivers/staging/android
diff options
context:
space:
mode:
authorPaolo Cretaro <melko@frugalware.org>2017-05-18 23:59:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-25 18:56:44 +0200
commit7e4e3bca8900b34d1cffa1891745d83b07892fea (patch)
tree014cd9cd30fe3406bb3f3e68842dfba781b2c711 /drivers/staging/android
parente45423d76f1c229b1a30ddde205a72774cdb12c6 (diff)
staging: android: ion: set init function as static
Fix warning issued by sparse: symbol 'ion_device_create' was not declared. Should it be static? Signed-off-by: Paolo Cretaro <melko@frugalware.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r--drivers/staging/android/ion/ion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
index afa7c4553125..43ecb4af1b41 100644
--- a/drivers/staging/android/ion/ion.c
+++ b/drivers/staging/android/ion/ion.c
@@ -586,7 +586,7 @@ void ion_device_add_heap(struct ion_heap *heap)
}
EXPORT_SYMBOL(ion_device_add_heap);
-int ion_device_create(void)
+static int ion_device_create(void)
{
struct ion_device *idev;
int ret;