gpu: ion: fix ion_platform_data definition
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Fri, 13 Dec 2013 22:24:43 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:57:17 +0000 (08:57 -0800)
fix ion_platform_heap to make is use an usual way in board configuration file.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.h

index 679031ceee91aa87c195958976033918c676be38..226bfd56be564f1c72b32f971b2974221ef50d0e 100644 (file)
@@ -103,7 +103,7 @@ struct ion_platform_heap {
  */
 struct ion_platform_data {
        int nr;
-       struct ion_platform_heap heaps[];
+       struct ion_platform_heap *heaps;
 };
 
 /**