Skip to contentSkip to conversation

2.6.32-rc7: compile regression on spitz

PATCH Applied Pavel Machek 3 participants 4 messages Nov 18, 2009 – Nov 22, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

If CONFIG_AKITA is not set, spitz fails to compile. It worked ok in rc5. Fix is one more ifdef...

arch/arm/mach-pxa/spitz.c +2 -0
@@ -802,10 +802,12 @@
 {
 	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;
 
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#3 lore raw
In reply to Pavel Machek
Quoted 5 lines · Pavel Machek

If CONFIG_AKITA is not set, spitz fails to compile. It worked ok in rc5. Fix is one more ifdef...

Eric, this being after-rc5 regression... it would be nice to actually fix it for final...
Pavel

Quoted 20 lines
arch/arm/mach-pxa/spitz.c +2 -0
@@ -802,10 +802,12 @@
 {
 	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;
 
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html