Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;