Commit 81065518 authored by Pavel Machek's avatar Pavel Machek Committed by Eric Miao
Browse files

[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: default avatarPavel Machek <pavel@ucw.cz>
Acked-by: default avatarStanislav Brabec <utx@penguin.cz>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent 68a31de3
......@@ -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;
......
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