diff options
| author | Pavel Machek <pavel@ucw.cz> | 2009-11-18 04:01:00 -0500 |
|---|---|---|
| committer | Eric Miao <eric.y.miao@gmail.com> | 2009-11-22 10:32:43 -0500 |
| commit | 81065518eda14ebbce1b48c98d5077b0a059d4a3 (patch) | |
| tree | 03fdc572e0b059305faf990f3c80d2f24ec1267c | |
| parent | 68a31de302bae12010ab116752d4362bd7fe2851 (diff) | |
[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>
| -rw-r--r-- | arch/arm/mach-pxa/spitz.c | 2 |
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) | |||
| 802 | { | 802 | { |
| 803 | spitz_ficp_platform_data.gpio_pwdown = SPITZ_GPIO_IR_ON; | 803 | spitz_ficp_platform_data.gpio_pwdown = SPITZ_GPIO_IR_ON; |
| 804 | 804 | ||
| 805 | #ifdef CONFIG_MACH_BORZOI | ||
| 805 | if (machine_is_borzoi()) { | 806 | if (machine_is_borzoi()) { |
| 806 | sharpsl_nand_platform_data.badblock_pattern = &sharpsl_akita_bbt; | 807 | sharpsl_nand_platform_data.badblock_pattern = &sharpsl_akita_bbt; |
| 807 | sharpsl_nand_platform_data.ecc_layout = &akita_oobinfo; | 808 | sharpsl_nand_platform_data.ecc_layout = &akita_oobinfo; |
| 808 | } | 809 | } |
| 810 | #endif | ||
| 809 | 811 | ||
| 810 | platform_scoop_config = &spitz_pcmcia_config; | 812 | platform_scoop_config = &spitz_pcmcia_config; |
| 811 | 813 | ||
