linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* 2.6.32-rc7: compile regression on spitz
@ 2009-11-18  9:01 Pavel Machek
  2009-11-18 14:38 ` Stanislav Brabec
  2009-11-21 23:46 ` Pavel Machek
  0 siblings, 2 replies; 4+ messages in thread
From: Pavel Machek @ 2009-11-18  9:01 UTC (permalink / raw)
  To: linux-arm-kernel


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>

--- a/arch/arm/mach-pxa/spitz.c	2009-11-17 17:10:21.000000000 +0100
+++ b/arch/arm/mach-pxa/spitz.c	2009-11-18 05:55:21.000000000 +0100
@@ -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;
 





-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-22 15:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18  9:01 2.6.32-rc7: compile regression on spitz Pavel Machek
2009-11-18 14:38 ` Stanislav Brabec
2009-11-22 15:33   ` Eric Miao
2009-11-21 23:46 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).