summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2009-11-18 10:01:00 +0100
committerEric Miao <eric.y.miao@gmail.com>2009-11-22 09:32:43 -0600
commit81065518eda14ebbce1b48c98d5077b0a059d4a3 (patch)
tree03fdc572e0b059305faf990f3c80d2f24ec1267c /arch
parent68a31de302bae12010ab116752d4362bd7fe2851 (diff)
downloadlinux-81065518eda14ebbce1b48c98d5077b0a059d4a3.tar.gz
linux-81065518eda14ebbce1b48c98d5077b0a059d4a3.tar.bz2
linux-81065518eda14ebbce1b48c98d5077b0a059d4a3.zip
[ARM] pxa/spitz: fix compile regression on spitz
If CONFIG_AKITA is not set, spitz fails to compile. It worked ok in rc5. Fix is one more ifdef... Signed-off-by: Pavel Machek <pavel@ucw.cz> Acked-by: Stanislav Brabec <utx@penguin.cz> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-pxa/spitz.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
index 3da45d051743..d98023f55503 100644
--- a/arch/arm/mach-pxa/spitz.c
+++ b/arch/arm/mach-pxa/spitz.c
@@ -802,10 +802,12 @@ static void __init spitz_init(void)
{
spitz_ficp_platform_data.gpio_pwdown = SPITZ_GPIO_IR_ON;
+#ifdef CONFIG_MACH_BORZOI
if (machine_is_borzoi()) {
sharpsl_nand_platform_data.badblock_pattern = &sharpsl_akita_bbt;
sharpsl_nand_platform_data.ecc_layout = &akita_oobinfo;
}
+#endif
platform_scoop_config = &spitz_pcmcia_config;