aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/mmci.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 2303a16263ef..efc822df4b75 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -1241,6 +1241,12 @@ static void mmci_dt_populate_generic_pdata(struct device_node *np,
1241 pr_warn("%s: Unsupported bus width\n", np->full_name); 1241 pr_warn("%s: Unsupported bus width\n", np->full_name);
1242 } 1242 }
1243} 1243}
1244#else
1245static void mmci_dt_populate_generic_pdata(struct device_node *np,
1246 struct mmci_platform_data *pdata)
1247{
1248 return;
1249}
1244#endif 1250#endif
1245 1251
1246static int __devinit mmci_probe(struct amba_device *dev, 1252static int __devinit mmci_probe(struct amba_device *dev,