diff mbox

[v5,1/4] fix ion_platform_data definition

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

Commit Message

Benjamin Gaignard June 12, 2012, 7:19 a.m. UTC
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 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/include/linux/ion.h b/include/linux/ion.h
index d44ce69..f6bb4df 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;
 };
 
 /**