summaryrefslogtreecommitdiffstats
path: root/drivers/staging/android/ion/ion.h
diff options
context:
space:
mode:
authorRebecca Schultz Zavin2013-12-13 23:23:37 +0100
committerGreg Kroah-Hartman2013-12-14 17:55:36 +0100
commit4d5ca3299fb7b27ceb6c33a62bc10ce4d408dc0b (patch)
treebabe703963495316687707a6f3b50975aa65c2e4 /drivers/staging/android/ion/ion.h
parentgpu: ion: ion_carveout_heap: fix for 3.4 (diff)
downloadkernel-qcow2-linux-4d5ca3299fb7b27ceb6c33a62bc10ce4d408dc0b.tar.gz
kernel-qcow2-linux-4d5ca3299fb7b27ceb6c33a62bc10ce4d408dc0b.tar.xz
kernel-qcow2-linux-4d5ca3299fb7b27ceb6c33a62bc10ce4d408dc0b.zip
ion: Switch map/unmap dma api to sg_tables
Switch these api's from scatterlists to sg_tables Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com> [jstultz: modified patch to apply to staging directory] Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/ion/ion.h')
-rw-r--r--drivers/staging/android/ion/ion.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/android/ion/ion.h b/drivers/staging/android/ion/ion.h
index 60b25439af50..87f6a45bcd1f 100644
--- a/drivers/staging/android/ion/ion.h
+++ b/drivers/staging/android/ion/ion.h
@@ -169,10 +169,10 @@ void ion_unmap_kernel(struct ion_client *client, struct ion_handle *handle);
* @client: the client
* @handle: handle to map
*
- * Return an sglist describing the given handle
+ * Return an sg_table describing the given handle
*/
-struct scatterlist *ion_map_dma(struct ion_client *client,
- struct ion_handle *handle);
+struct sg_table *ion_map_dma(struct ion_client *client,
+ struct ion_handle *handle);
/**
* ion_unmap_dma() - destroy a dma mapping for a handle