[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>
This commit is contained in:
parent
68a31de302
commit
81065518ed
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue