public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Fix omap1510-generic board compilation.
@ 2007-06-07  2:45 andrzej zaborowski
  2007-06-08 10:31 ` Tony Lindgren
  0 siblings, 1 reply; 4+ messages in thread
From: andrzej zaborowski @ 2007-06-07  2:45 UTC (permalink / raw)
  To: Linux OMAP

[-- Attachment #1: Type: text/plain, Size: 146 bytes --]

Move an #endif so that it doesn't hide the mmc config declaration.
Minor formatting change.

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>

[-- Attachment #2: 0007-ARM-OMAP-Fix-omap1510-generic-building-out-of-defconfig.txt --]
[-- Type: text/plain, Size: 1261 bytes --]

From d0ec40c4888e8d0281ae38abd5de4caba5adfc3f Mon Sep 17 00:00:00 2001
From: Andrzej Zaborowski <balrog@zabor.org>
Date: Thu, 7 Jun 2007 05:26:43 +0200
Subject: [PATCH] ARM: OMAP: Fix omap1510-generic building out of defconfig.

---
 arch/arm/mach-omap1/board-generic.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mach-omap1/board-generic.c b/arch/arm/mach-omap1/board-generic.c
index 33d01ad..29fa364 100644
--- a/arch/arm/mach-omap1/board-generic.c
+++ b/arch/arm/mach-omap1/board-generic.c
@@ -55,6 +55,7 @@ static struct omap_usb_config generic1610_usb_config __initdata = {
 	.hmc_mode	= 16,
 	.pins[0]	= 6,
 };
+#endif
 
 static struct omap_mmc_config generic_mmc_config __initdata = {
 	.mmc [0] = {
@@ -73,15 +74,13 @@ static struct omap_mmc_config generic_mmc_config __initdata = {
 	},
 };
 
-#endif
-
 static struct omap_uart_config generic_uart_config __initdata = {
 	.enabled_uarts = ((1 << 0) | (1 << 1) | (1 << 2)),
 };
 
 static struct omap_board_config_kernel generic_config[] = {
-	{ OMAP_TAG_USB,           NULL },
-	{ OMAP_TAG_MMC,           &generic_mmc_config },
+	{ OMAP_TAG_USB,		NULL },
+	{ OMAP_TAG_MMC,		&generic_mmc_config },
 	{ OMAP_TAG_UART,	&generic_uart_config },
 };
 
-- 
1.4.4.3


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2007-06-12 18:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-07  2:45 [PATCH] ARM: OMAP: Fix omap1510-generic board compilation andrzej zaborowski
2007-06-08 10:31 ` Tony Lindgren
2007-06-10 11:52   ` andrzej zaborowski
2007-06-12 18:32     ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox