diff options
| author | Krishna Reddy <vdumpa@nvidia.com> | 2013-09-25 16:51:41 -0400 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:06:25 -0400 |
| commit | a0fffd92bd4fb972a13de12c4d80b58a24094cee (patch) | |
| tree | 7e4c036bf027cca27627bbd6b99ff6cd7b90f801 /include/linux | |
| parent | b6221bec423c60ae46cd1d80b7fedd09ea683a81 (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.h | 8 |
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; | |||
| 84 | struct nvmap_client *nvmap_create_client(struct nvmap_device *dev, | 84 | struct nvmap_client *nvmap_create_client(struct nvmap_device *dev, |
| 85 | const char *name); | 85 | const char *name); |
| 86 | 86 | ||
| 87 | struct 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 | |||
| 91 | struct dma_buf *nvmap_alloc_dmabuf(size_t size, size_t align, | 87 | struct 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 | ||
| 105 | phys_addr_t nvmap_get_addr_from_user_id(ulong user_id); | 101 | phys_addr_t nvmap_get_addr_from_user_id(ulong user_id); |
| 106 | 102 | ||
| 107 | void nvmap_free(struct nvmap_client *client, struct nvmap_handle_ref *r); | ||
| 108 | |||
| 109 | void _nvmap_free(struct nvmap_client *client, struct nvmap_handle_ref *r); | ||
| 110 | |||
| 111 | void *nvmap_mmap(struct nvmap_handle_ref *r); | 103 | void *nvmap_mmap(struct nvmap_handle_ref *r); |
| 112 | 104 | ||
| 113 | void nvmap_munmap(struct nvmap_handle_ref *r, void *addr); | 105 | void nvmap_munmap(struct nvmap_handle_ref *r, void *addr); |
