Change-Id: Id5233b7b2b9e291bbfcf3d1b555be99284dc85ff
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/385716
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
return vma->vm_ops == &nvmap_vma_ops;
}
-struct device *nvmap_client_to_device(struct nvmap_client *client)
-{
- if (!client)
- return 0;
- return nvmap_dev->dev_user.this_device;
-}
-
/*
* Verifies that the passed ID is a valid handle ID. Then the passed client's
* reference to the handle is returned.
#endif /* !CONFIG_TEGRA_NVMAP */
-struct device *nvmap_client_to_device(struct nvmap_client *client);
-
struct nvmap_heap_block *nvmap_carveout_alloc(struct nvmap_client *dev,
struct nvmap_handle *handle,
unsigned long type);