diff --git a/drivers/staging/android/ion/heaps/ion_page_pool.c b/drivers/staging/android/ion/heaps/ion_page_pool.c index d34c192b1c27..efd6ce4cc0ad 100644 --- a/drivers/staging/android/ion/heaps/ion_page_pool.c +++ b/drivers/staging/android/ion/heaps/ion_page_pool.c @@ -79,6 +79,7 @@ struct page *ion_page_pool_alloc(struct ion_page_pool *pool) return page; } +EXPORT_SYMBOL_GPL(ion_page_pool_alloc); void ion_page_pool_free(struct ion_page_pool *pool, struct page *page) { @@ -86,6 +87,7 @@ void ion_page_pool_free(struct ion_page_pool *pool, struct page *page) ion_page_pool_add(pool, page); } +EXPORT_SYMBOL_GPL(ion_page_pool_free); static int ion_page_pool_total(struct ion_page_pool *pool, bool high) { @@ -107,6 +109,7 @@ int ion_page_pool_nr_pages(struct ion_page_pool *pool) return nr_total_pages; } +EXPORT_SYMBOL_GPL(ion_page_pool_nr_pages); int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, int nr_to_scan) @@ -141,6 +144,7 @@ int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, return freed; } +EXPORT_SYMBOL_GPL(ion_page_pool_shrink); struct ion_page_pool *ion_page_pool_create(gfp_t gfp_mask, unsigned int order) { @@ -159,8 +163,10 @@ struct ion_page_pool *ion_page_pool_create(gfp_t gfp_mask, unsigned int order) return pool; } +EXPORT_SYMBOL_GPL(ion_page_pool_create); void ion_page_pool_destroy(struct ion_page_pool *pool) { kfree(pool); } +EXPORT_SYMBOL_GPL(ion_page_pool_destroy);