arm: tegra: cardhu: Fixing build break
Laxman Dewangan [Tue, 25 Jan 2011 12:06:15 +0000 (17:06 +0530)]
Preprocessor if was missed in previous change which
is creating build break. Fixing this break.

Original-Change-Id: I7def4b52f8fb9e921357f9c8fc99f29a966ee8ed
Reviewed-on: http://git-master/r/16907
Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com>
Tested-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I970c36ec4a6cbbad4f3f98ebcc1b96b54e0ea95f

Rebase-Id: R82c1d8e830c94b62e57017c418cd0f0ea11b8a97

arch/arm/mach-tegra/board-cardhu-pinmux.c

index fc8a264..39cf45e 100755 (executable)
@@ -227,6 +227,8 @@ static __initdata struct tegra_pingroup_config cardhu_pinmux[] = {
        DEFAULT_PINMUX(CLK3_OUT,        EXTPERIPH3,      NORMAL,    NORMAL,     OUTPUT),
        DEFAULT_PINMUX(CLK3_REQ,        DEV3,            NORMAL,    NORMAL,     INPUT),
        DEFAULT_PINMUX(GMI_WP_N,        RSVD1,           NORMAL,    NORMAL,     INPUT),
+
+#if defined(CONFIG_MTD_NAND_TEGRA)
        DEFAULT_PINMUX(GMI_WAIT,        NAND,            NORMAL,    NORMAL,     INPUT),
        DEFAULT_PINMUX(GMI_ADV_N,       NAND,            NORMAL,    NORMAL,     OUTPUT),
        DEFAULT_PINMUX(GMI_CLK,         NAND,            NORMAL,    NORMAL,     OUTPUT),