]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix omap1510-generic board compilation
authorAndrzej Zaborowski <balrog@zabor.org>
Sun, 10 Jun 2007 12:36:34 +0000 (14:36 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 12 Jun 2007 18:32:31 +0000 (11:32 -0700)
Move an #endif so that it doesn't hide the mmc config declaration.
Minor formatting change.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-generic.c

index 228fd00c11e68eca72af4309d6dd76b7c7db1d48..4b35f1676f45dadf9649d22a7d1493662f992545 100644 (file)
@@ -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[] __initdata = {
-       { 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 },
 };