Skip to content

Commit

Permalink
ARM: mach-shmobile: Correctly check for CONFIG_MACH_MACKEREL
Browse files Browse the repository at this point in the history
I made a bit of a thinko when adding Mackerel to the boards
that support zboot using MMCIF.

Reported-by: Magnus Damm <magnus.damm@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Simon Horman authored and Paul Mundt committed Apr 6, 2011
1 parent 6221f22 commit 4a0f081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-shmobile/include/mach/mmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#ifdef CONFIG_MACH_AP4EVB
#include "mach/mmc-ap4eb.h"
#elif CONFIG_MACH_MACKEREL
#elif defined(CONFIG_MACH_MACKEREL)
#include "mach/mmc-mackerel.h"
#else
#error "unsupported board."
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-shmobile/include/mach/zboot.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#ifdef CONFIG_MACH_AP4EVB
#define MACH_TYPE MACH_TYPE_AP4EVB
#include "mach/head-ap4evb.txt"
#elif CONFIG_MACH_MACKEREL
#elif defined(CONFIG_MACH_MACKEREL)
#define MACH_TYPE MACH_TYPE_MACKEREL
#include "mach/head-mackerel.txt"
#else
Expand Down

0 comments on commit 4a0f081

Please sign in to comment.