summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorKrishna Reddy <vdumpa@nvidia.com>2013-09-25 16:51:41 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:06:25 -0400
commita0fffd92bd4fb972a13de12c4d80b58a24094cee (patch)
tree7e4c036bf027cca27627bbd6b99ff6cd7b90f801 /include/linux
parentb6221bec423c60ae46cd1d80b7fedd09ea683a81 (diff)
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 <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/279022 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> (cherry picked from commit 4645b20750a5ae56a03a416d7b358a280a9c6fa3) Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nvmap.h8
1 files changed, 0 insertions, 8 deletions
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;
84struct nvmap_client *nvmap_create_client(struct nvmap_device *dev, 84struct nvmap_client *nvmap_create_client(struct nvmap_device *dev,
85 const char *name); 85 const char *name);
86 86
87struct nvmap_handle_ref *nvmap_alloc(struct nvmap_client *client, size_t size,
88 size_t align, unsigned int flags,
89 unsigned int heap_mask);
90
91struct dma_buf *nvmap_alloc_dmabuf(size_t size, size_t align, 87struct dma_buf *nvmap_alloc_dmabuf(size_t size, size_t align,
92 unsigned int flags, 88 unsigned int flags,
93 unsigned int heap_mask); 89 unsigned int heap_mask);
@@ -104,10 +100,6 @@ ulong nvmap_dmabuf_to_user_id(struct dma_buf *dmabuf);
104 100
105phys_addr_t nvmap_get_addr_from_user_id(ulong user_id); 101phys_addr_t nvmap_get_addr_from_user_id(ulong user_id);
106 102
107void nvmap_free(struct nvmap_client *client, struct nvmap_handle_ref *r);
108
109void _nvmap_free(struct nvmap_client *client, struct nvmap_handle_ref *r);
110
111void *nvmap_mmap(struct nvmap_handle_ref *r); 103void *nvmap_mmap(struct nvmap_handle_ref *r);
112 104
113void nvmap_munmap(struct nvmap_handle_ref *r, void *addr); 105void nvmap_munmap(struct nvmap_handle_ref *r, void *addr);