summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/hsmmc.c
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-11-22 16:02:18 +0200
committerTony Lindgren <tony@atomide.com>2011-12-08 16:26:20 -0800
commit6fdc75de7d0554134890d33a0a6f5e18c7503c01 (patch)
tree9fd820bdb7ec3c74a4545bf76ca6af74ac488e35 /arch/arm/mach-omap2/hsmmc.c
parent31f9d4635bde3f03bc6dbac01d4c0fb0da9d06d7 (diff)
downloadblackbird-op-linux-6fdc75de7d0554134890d33a0a6f5e18c7503c01.tar.gz
blackbird-op-linux-6fdc75de7d0554134890d33a0a6f5e18c7503c01.zip
ARM: OMAP: hsmmc: add pm_caps field
Add pm_caps field to omap2_hsmmc_info and omap_mmc_slot_data structs, so we will be able to indicate mmc pm capabilities in the board file. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/hsmmc.c')
-rw-r--r--arch/arm/mach-omap2/hsmmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c
index f4a1020559a7..97dfedce084b 100644
--- a/arch/arm/mach-omap2/hsmmc.c
+++ b/arch/arm/mach-omap2/hsmmc.c
@@ -296,6 +296,7 @@ static int __init omap_hsmmc_pdata_init(struct omap2_hsmmc_info *c,
mmc->slots[0].name = hc_name;
mmc->nr_slots = 1;
mmc->slots[0].caps = c->caps;
+ mmc->slots[0].pm_caps = c->pm_caps;
mmc->slots[0].internal_clock = !c->ext_clock;
mmc->dma_mask = 0xffffffff;
if (cpu_is_omap44xx())
OpenPOWER on IntegriCloud