[Linaro-mm-sig] [PATCH v3 1/4] fix ion_platform_data definition

benjamin.gaignard at stericsson.com benjamin.gaignard at stericsson.com
Wed Mar 14 15:35:12 UTC 2012


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

fix ion_platform_heap to make is use an usual way in board configuration file.

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

diff --git a/include/linux/ion.h b/include/linux/ion.h
index aed8349..1468cb3 100644
--- a/include/linux/ion.h
+++ b/include/linux/ion.h
@@ -83,7 +83,7 @@ struct ion_platform_heap {
  */
 struct ion_platform_data {
 	int nr;
-	struct ion_platform_heap heaps[];
+	struct ion_platform_heap *heaps;
 };
 
 /**
-- 
1.7.0.4




More information about the Linaro-mm-sig mailing list