summaryrefslogtreecommitdiff
path: root/drivers/gpu/ion/ion.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/ion/ion.c')
-rw-r--r--drivers/gpu/ion/ion.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/gpu/ion/ion.c b/drivers/gpu/ion/ion.c
index f17f9255013..50a4a407964 100644
--- a/drivers/gpu/ion/ion.c
+++ b/drivers/gpu/ion/ion.c
@@ -616,8 +616,8 @@ void ion_client_destroy(struct ion_client *client)
kfree(client);
}
-struct sg_table *ion_map_dma(struct ion_client *client,
- struct ion_handle *handle)
+struct sg_table *ion_sg_table(struct ion_client *client,
+ struct ion_handle *handle)
{
struct ion_buffer *buffer;
struct sg_table *table;
@@ -635,10 +635,6 @@ struct sg_table *ion_map_dma(struct ion_client *client,
return table;
}
-void ion_unmap_dma(struct ion_client *client, struct ion_handle *handle)
-{
-}
-
static struct sg_table *ion_map_dma_buf(struct dma_buf_attachment *attachment,
enum dma_data_direction direction)
{