[v4,1/4] fix ion_platform_data definition

Message ID 1332320963-29001-2-git-send-email-benjamin.gaignard@stericsson.com
State New
Headers show

Commit Message

Benjamin Gaignard March 21, 2012, 9:09 a.m.
From: Benjamin Gaignard <benjamin.gaignard@linaro.org>

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 files changed, 1 insertions(+), 1 deletions(-)

Patch

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;
 };
 
 /**