]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: android: ion: set init function as static
authorPaolo Cretaro <melko@frugalware.org>
Thu, 18 May 2017 21:59:41 +0000 (23:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 16:56:44 +0000 (18:56 +0200)
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>
drivers/staging/android/ion/ion.c

index afa7c45531257c58c714755b9f4c0af16eb2f7b0..43ecb4af1b41d1e56df6f6f92b696f613acd4376 100644 (file)
@@ -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;