[Linaro-mm-sig] [PATCH v4 2/4] add private field in ion_heap structure

benjamin.gaignard at stericsson.com benjamin.gaignard at stericsson.com
Wed Mar 21 09:09:21 UTC 2012


From: Benjamin Gaignard <benjamin.gaignard at linaro.org>

Signed-off-by: Benjamin Gaignard <benjamin.gaignard at linaro.org>
---
 drivers/gpu/ion/ion_priv.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/ion/ion_priv.h b/drivers/gpu/ion/ion_priv.h
index 3323954..bf5c75e 100644
--- a/drivers/gpu/ion/ion_priv.h
+++ b/drivers/gpu/ion/ion_priv.h
@@ -111,6 +111,7 @@ struct ion_heap_ops {
  *			allocating.  These are specified by platform data and
  *			MUST be unique
  * @name:		used for debugging
+ * @priv:		private heap data
  *
  * Represents a pool of memory from which buffers can be made.  In some
  * systems the only heap is regular system memory allocated via vmalloc.
@@ -124,6 +125,7 @@ struct ion_heap {
 	struct ion_heap_ops *ops;
 	int id;
 	const char *name;
+	void *priv;
 };
 
 /**
-- 
1.7.0.4




More information about the Linaro-mm-sig mailing list