]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00170225 mx5x: build failed due to ipuv3 fb platform data change
authorXinyu Chen <xinyu.chen@freescale.com>
Wed, 14 Dec 2011 03:34:17 +0000 (11:34 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:37 +0000 (08:33 +0200)
The change impact the mx5 bbg and loco build.

Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
arch/arm/mach-mx5/board-mx51_babbage.c
arch/arm/mach-mx5/board-mx53_loco.c

index b808dfdaf84651543b1ee2d3661c6fb01149ee2a..f8661ff5a0e8eca193226a840609715c6269f370 100755 (executable)
@@ -614,9 +614,9 @@ static void __init fixup_mxc_board(struct machine_desc *desc, struct tag *tags,
                gpu_data.reserved_mem_size = gpu_mem;
 
                /* reserver memory for fb */
-               bbg_fb_data[0].res_base = gpu_data.reserved_mem_base
+               bbg_fb_data[0].res_base[0] = gpu_data.reserved_mem_base
                                        + gpu_data.reserved_mem_size;
-               bbg_fb_data[0].res_size = fb_mem;
+               bbg_fb_data[0].res_size[0] = fb_mem;
        }
 }
 
index 0fdce6db953b784bddbf777cbf32b6d915a87f59..56f88d185a95bf4d1ab4db74be262b8789a61dcd 100755 (executable)
@@ -650,9 +650,9 @@ static void __init fixup_mxc_board(struct machine_desc *desc, struct tag *tags,
                gpu_data.reserved_mem_size = gpu_mem;
 
                /* reserver memory for fb */
-               loco_fb_data[0].res_base = gpu_data.reserved_mem_base
+               loco_fb_data[0].res_base[0] = gpu_data.reserved_mem_base
                                        + gpu_data.reserved_mem_size;
-               loco_fb_data[0].res_size = fb_mem;
+               loco_fb_data[0].res_size[0] = fb_mem;
        }
 }