From a0fffd92bd4fb972a13de12c4d80b58a24094cee Mon Sep 17 00:00:00 2001 From: Krishna Reddy Date: Wed, 25 Sep 2013 13:51:41 -0700 Subject: video: tegra: nvmap: remove nvmap_alloc/__free API remove the obsolete nvmap_alloc/_free API from public header and convert these to private for internal use in NvMap. remove unused _nvmap_free API as well. Change-Id: I0f3e9ce3bcbdfd425d255bbdde62683fac17809b Signed-off-by: Krishna Reddy Reviewed-on: http://git-master/r/279022 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo Reviewed-by: Alex Waterman (cherry picked from commit 4645b20750a5ae56a03a416d7b358a280a9c6fa3) Signed-off-by: Ajay Nandakumar --- include/linux/nvmap.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/linux') diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index e6bf69ffc..2b230e3a8 100644 --- a/include/linux/nvmap.h +++ b/include/linux/nvmap.h @@ -84,10 +84,6 @@ struct nvmap_device; struct nvmap_client *nvmap_create_client(struct nvmap_device *dev, const char *name); -struct nvmap_handle_ref *nvmap_alloc(struct nvmap_client *client, size_t size, - size_t align, unsigned int flags, - unsigned int heap_mask); - struct dma_buf *nvmap_alloc_dmabuf(size_t size, size_t align, unsigned int flags, unsigned int heap_mask); @@ -104,10 +100,6 @@ ulong nvmap_dmabuf_to_user_id(struct dma_buf *dmabuf); phys_addr_t nvmap_get_addr_from_user_id(ulong user_id); -void nvmap_free(struct nvmap_client *client, struct nvmap_handle_ref *r); - -void _nvmap_free(struct nvmap_client *client, struct nvmap_handle_ref *r); - void *nvmap_mmap(struct nvmap_handle_ref *r); void nvmap_munmap(struct nvmap_handle_ref *r, void *addr); -- cgit v1.2.2