Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e4e3bca authored by Paolo Cretaro's avatar Paolo Cretaro Committed by Greg Kroah-Hartman
Browse files

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: default avatarPaolo Cretaro <melko@frugalware.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e45423d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;