diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2011-04-14 16:08:05 +0800 |
---|---|---|
committer | Richard Zhao <richard.zhao@freescale.com> | 2011-04-19 15:03:37 +0800 |
commit | 9aea2dfb8c21f5a88b7298a7872da1d76f85fd3d (patch) | |
tree | a8c1cd624f2caefbb6f4aedfb3f3030d995595f3 /arch/arm/mach-mx5/board-mx53_loco.c | |
parent | 5f3d19a786e98998dafe12b3179deffc05a72c3f (diff) |
ENGR00142119-2 arm: imx5: add mxc_gpu_platform_data
The struct inclues z160_revision and reserved mem info .
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx5/board-mx53_loco.c')
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_loco.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-mx5/board-mx53_loco.c b/arch/arm/mach-mx5/board-mx53_loco.c index 8c6d471425c3..7dc2eb664a9c 100644 --- a/arch/arm/mach-mx5/board-mx53_loco.c +++ b/arch/arm/mach-mx5/board-mx53_loco.c @@ -628,7 +628,7 @@ static struct mxc_iim_platform_data iim_data = { .disable_fuse = mxc_iim_disable_fuse, }; -static int z160_revision __initdata; +static struct mxc_gpu_platform_data gpu_data __initdata; static struct fsl_mxc_ldb_platform_data ldb_data = { .ext_ref = 1, @@ -681,10 +681,10 @@ static void __init mx53_loco_board_init(void) /*GPU*/ if (mx53_revision() >= IMX_CHIP_REVISION_2_0) - z160_revision = 1; + gpu_data.z160_revision = 1; else - z160_revision = 0; - imx53_add_mxc_gpu(&z160_revision); + gpu_data.z160_revision = 0; + imx53_add_mxc_gpu(&gpu_data); imx_add_gpio_keys(&loco_button_data); } |