diff options
author | Huang Shijie <b32955@freescale.com> | 2012-06-05 17:26:35 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:38:26 +0800 |
commit | 647445e489e589dffdf321c2cd0ac13d373c01af (patch) | |
tree | d93ebf2d6486116c94d36605bf4155d0ab14042d /arch/arm/mach-mx6/board-mx6q_sabrelite.c | |
parent | d5846ee3d5df4371c2c62adfd79eb40e1da39350 (diff) |
ENGR00212492 GPU: fix a macro error
The default .config defines the GPU as a module:
"CONFIG_MXC_GPU_VIV=m"
In this case, we actually can not find the CONFIG_MXC_GPU_VIV.
We should find CONFIG_MXC_GPU_VIV_MODULE instead.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/board-mx6q_sabrelite.c')
-rw-r--r-- | arch/arm/mach-mx6/board-mx6q_sabrelite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabrelite.c b/arch/arm/mach-mx6/board-mx6q_sabrelite.c index 7fd9fbab260e..693c0e663c78 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabrelite.c +++ b/arch/arm/mach-mx6/board-mx6q_sabrelite.c @@ -1202,7 +1202,7 @@ static struct sys_timer mx6_sabrelite_timer = { static void __init mx6q_sabrelite_reserve(void) { -#ifdef CONFIG_MXC_GPU_VIV +#if defined(CONFIG_MXC_GPU_VIV) || defined(CONFIG_MXC_GPU_VIV_MODULE) phys_addr_t phys; if (imx6q_gpu_pdata.reserved_mem_size) { |