提交 7e4e3bca 编写于 作者: P Paolo Cretaro 提交者: Greg Kroah-Hartman

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: NPaolo Cretaro <melko@frugalware.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 e45423d7
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册