[v6,1/4] fix ion_platform_data definition

Message ID 1340720293-21221-2-git-send-email-benjamin.gaignard@linaro.org
State New
Headers show

Commit Message

Benjamin Gaignard June 26, 2012, 2:18 p.m.
fix ion_platform_heap to make is use an usual way in board configuration file.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
---
 include/linux/ion.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/include/linux/ion.h b/include/linux/ion.h
index ba09e70..a03b3a3 100644
--- a/include/linux/ion.h
+++ b/include/linux/ion.h
@@ -85,7 +85,7 @@  struct ion_platform_heap {
  */
 struct ion_platform_data {
 	int nr;
-	struct ion_platform_heap heaps[];
+	struct ion_platform_heap *heaps;
 };
 
 /**