From 64898e54084445317383ecbe125dc14c0ee729d0 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Tue, 23 Apr 2013 12:20:42 +0200 Subject: colibri_t20: mmc: sdhci: fix build Fix the following build issue introduced by commit 5cfcbc23d116927a7ae8d5b67baeacf2905b21f9 if neither CONFIG_MACH_APALIS_T30 nor CONFIG_MACH_COLIBRI_T30 is defined as in case of e.g. the Colibri T20: drivers/mmc/host/sdhci-tegra.c:951:2: error: expected expression before '.' token --- drivers/mmc/host/sdhci-tegra.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index ffa8f7050a4c..73b65ce3089e 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -946,8 +946,9 @@ static struct sdhci_pltfm_data sdhci_tegra_pdata = { #if defined(CONFIG_MACH_APALIS_T30) || defined(CONFIG_MACH_COLIBRI_T30) /* Hack: SDR12, SDR25, SDR50, SDR104 and DDR50 all require 1.8V signalling which our current T30 designs can't do. */ - SDHCI_QUIRK2_NO_1_8_V, + SDHCI_QUIRK2_NO_1_8_V | #endif + 0, .ops = &tegra_sdhci_ops, }; -- cgit v1.2.3