diff options
author | Eliad Peller <eliad@wizery.com> | 2011-11-22 16:02:18 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-12-08 16:26:20 -0800 |
commit | 6fdc75de7d0554134890d33a0a6f5e18c7503c01 (patch) | |
tree | 9fd820bdb7ec3c74a4545bf76ca6af74ac488e35 /drivers/mmc | |
parent | 31f9d4635bde3f03bc6dbac01d4c0fb0da9d06d7 (diff) |
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 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 6784fbbc337..f0d792183b8 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -1988,6 +1988,8 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev) if (mmc_slot(host).nonremovable) mmc->caps |= MMC_CAP_NONREMOVABLE; + mmc->pm_caps = mmc_slot(host).pm_caps; + omap_hsmmc_conf_bus_power(host); /* Select DMA lines */ |