summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/ion.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ion.h b/include/linux/ion.h
index aed8349279ed..9a322437a976 100644
--- a/include/linux/ion.h
+++ b/include/linux/ion.h
@@ -33,6 +33,7 @@ enum ion_heap_type {
ION_HEAP_TYPE_SYSTEM,
ION_HEAP_TYPE_SYSTEM_CONTIG,
ION_HEAP_TYPE_CARVEOUT,
+ ION_HEAP_TYPE_IOMMU,
ION_HEAP_TYPE_CUSTOM, /* must be last so device specific heaps always
are at the end of this enum */
ION_NUM_HEAPS,
@@ -63,6 +64,7 @@ struct ion_buffer;
* @name: used for debug purposes
* @base: base address of heap in physical memory if applicable
* @size: size of the heap in bytes if applicable
+ * @priv: heap specific data
*
* Provided by the board file.
*/
@@ -72,6 +74,7 @@ struct ion_platform_heap {
const char *name;
ion_phys_addr_t base;
size_t size;
+ void *priv;
};
/**