提交 4a0f081d 编写于 作者: S Simon Horman 提交者: Paul Mundt

ARM: mach-shmobile: Correctly check for CONFIG_MACH_MACKEREL

I made a bit of a thinko when adding Mackerel to the boards
that support zboot using MMCIF.
Reported-by: NMagnus Damm <magnus.damm@gmail.com>
Signed-off-by: NSimon Horman <horms@verge.net.au>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 6221f222
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#ifdef CONFIG_MACH_AP4EVB #ifdef CONFIG_MACH_AP4EVB
#include "mach/mmc-ap4eb.h" #include "mach/mmc-ap4eb.h"
#elif CONFIG_MACH_MACKEREL #elif defined(CONFIG_MACH_MACKEREL)
#include "mach/mmc-mackerel.h" #include "mach/mmc-mackerel.h"
#else #else
#error "unsupported board." #error "unsupported board."
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#ifdef CONFIG_MACH_AP4EVB #ifdef CONFIG_MACH_AP4EVB
#define MACH_TYPE MACH_TYPE_AP4EVB #define MACH_TYPE MACH_TYPE_AP4EVB
#include "mach/head-ap4evb.txt" #include "mach/head-ap4evb.txt"
#elif CONFIG_MACH_MACKEREL #elif defined(CONFIG_MACH_MACKEREL)
#define MACH_TYPE MACH_TYPE_MACKEREL #define MACH_TYPE MACH_TYPE_MACKEREL
#include "mach/head-mackerel.txt" #include "mach/head-mackerel.txt"
#else #else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册