diff options
Diffstat (limited to 'drivers/staging/android/ion/ion_priv.h')
-rw-r--r-- | drivers/staging/android/ion/ion_priv.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/staging/android/ion/ion_priv.h b/drivers/staging/android/ion/ion_priv.h index 760e41885448..70ac322967a3 100644 --- a/drivers/staging/android/ion/ion_priv.h +++ b/drivers/staging/android/ion/ion_priv.h @@ -2,6 +2,7 @@ * drivers/staging/android/ion/ion_priv.h * * Copyright (C) 2011 Google, Inc. + * Copyright (C) 2016 Freescale Semiconductor, Inc. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and @@ -387,6 +388,11 @@ void ion_chunk_heap_destroy(struct ion_heap *); struct ion_heap *ion_cma_heap_create(struct ion_platform_heap *); void ion_cma_heap_destroy(struct ion_heap *); +#ifdef CONFIG_ION_UNMAPPED_HEAP +struct ion_heap *ion_unmapped_heap_create(struct ion_platform_heap *pheap); +void ion_unmapped_heap_destroy(struct ion_heap *heap); +#endif + /** * functions for creating and destroying a heap pool -- allows you * to keep a pool of pre allocated memory to use from your heap. Keeping @@ -470,4 +476,9 @@ int ion_query_heaps(struct ion_client *client, struct ion_heap_query *query); int ion_share_dma_buf_fd_nolock(struct ion_client *client, struct ion_handle *handle); +int ion_handle_put_wrap(struct ion_handle *handle); +struct ion_handle *ion_handle_get_by_id_wrap(struct ion_client *client, + int id); +struct device *ion_device_get_by_client(struct ion_client *client); + #endif /* _ION_PRIV_H */ |