Commit 647445e4 authored by Huang Shijie's avatar Huang Shijie Committed by Jason Liu

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: default avatarHuang Shijie <b32955@freescale.com>
parent d5846ee3
......@@ -2219,7 +2219,7 @@ static struct sys_timer mxc_timer = {
static void __init mx6_arm2_reserve(void)
{
#ifdef CONFIG_MXC_GPU_VIV
#if defined(CONFIG_MXC_GPU_VIV) || defined(CONFIG_MXC_GPU_VIV_MODULE)
phys_addr_t phys;
if (imx6_gpu_pdata.reserved_mem_size) {
......
......@@ -1549,7 +1549,7 @@ static struct sys_timer mxc_timer = {
static void __init mx6q_reserve(void)
{
#ifdef CONFIG_MXC_GPU_VIV
#ifdef defined(CONFIG_MXC_GPU_VIV) || defined(CONFIG_MXC_GPU_VIV_MODULE)
phys_addr_t phys;
if (imx6q_gpu_pdata.reserved_mem_size) {
......
......@@ -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) {
......
......@@ -1839,7 +1839,7 @@ static struct sys_timer mx6_sabresd_timer = {
static void __init mx6q_sabresd_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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment