diff mbox

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

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

Commit Message

Benjamin Gaignard Dec. 7, 2012, 9:02 a.m. UTC
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 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;
 };
 
 /**