summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/tegra/nvmap/nvmap.h3
-rw-r--r--include/linux/nvmap.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/tegra/nvmap/nvmap.h b/drivers/video/tegra/nvmap/nvmap.h
index fc811abe3740..b0fb70f64a5c 100644
--- a/drivers/video/tegra/nvmap/nvmap.h
+++ b/drivers/video/tegra/nvmap/nvmap.h
@@ -204,9 +204,6 @@ struct nvmap_handle *nvmap_get_handle_id(struct nvmap_client *client,
struct nvmap_handle_ref *nvmap_create_handle(struct nvmap_client *client,
size_t size);
-struct nvmap_handle_ref *nvmap_duplicate_handle_id(struct nvmap_client *client,
- unsigned long id);
-
int nvmap_alloc_handle_id(struct nvmap_client *client,
unsigned long id, unsigned int heap_mask,
size_t align, unsigned int flags);
diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h
index ba9c781c3db1..bea59694ad27 100644
--- a/include/linux/nvmap.h
+++ b/include/linux/nvmap.h
@@ -138,6 +138,9 @@ int nvmap_patch_word(struct nvmap_client *client,
struct nvmap_handle *patch,
u32 patch_offset, u32 patch_value);
+struct nvmap_handle_ref *nvmap_duplicate_handle_id(struct nvmap_client *client,
+ unsigned long id);
+
struct nvmap_platform_carveout {
const char *name;
unsigned int usage_mask;