video: tegra: host: refactor for upstreaming
[linux-2.6.git] / include / linux / ion.h
index aed8349..9a32243 100644 (file)
@@ -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;
 };
 
 /**