summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-04-23 12:20:42 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-04-23 12:20:42 +0200
commit64898e54084445317383ecbe125dc14c0ee729d0 (patch)
tree021628237643d6c19a2634caaf30cf47565369de /drivers/mmc
parent09fafcffd107788e7b6e74e991000db2cf7c94a0 (diff)
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
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-tegra.c3
1 files changed, 2 insertions, 1 deletions
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,
};