ANDROID: staging: ion: Export query function to be used in modules

Export the ion_query_heaps_kernel to allow the module
to get the registered heap information.

Bug: 149961819
Bug: 170264063
Signed-off-by: Hyesoo Yu <hyesoo.yu@samsung.com>
Change-Id: I3756ef0cbd17611593c8d2f45e46476a864faaec
(cherry picked from commit 62060692112ba17dff2757dfcb7f9d40d1cc0016)
Signed-off-by: J. Avila <elavila@google.com>
(cherry picked from commit d19d2506e5a9aad1001a6b8e49c2ddbf9f7204cd)
Signed-off-by: Will McVicker <willmcvicker@google.com>
(cherry picked from commit 021629f579df13eece231b5c8ace30f0a5c150d5)
Signed-off-by: Will McVicker <willmcvicker@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Hyesoo Yu
2020-03-20 16:07:53 +09:00
committed by Greg Kroah-Hartman
parent 5a062fa1de
commit 0b80f9129c

View File

@@ -92,6 +92,7 @@ out:
up_read(&dev->lock);
return num_heaps;
}
EXPORT_SYMBOL_GPL(ion_query_heaps_kernel);
static int ion_query_heaps(struct ion_heap_query *query)
{