[v7,1/3] gpu: ion: fix ion_platform_data definition

Message ID 50c094cc.c361b40a.59fe.420b@mx.google.com
State New
Headers show

Commit Message

Benjamin Gaignard Dec. 6, 2012, 12:50 p.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 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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