diff options
author | Eliad Peller <eliad@wizery.com> | 2011-11-22 09:02:18 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-12-08 19:26:20 -0500 |
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 6784fbbc337d..f0d792183b8e 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) | |||
1988 | if (mmc_slot(host).nonremovable) | 1988 | if (mmc_slot(host).nonremovable) |
1989 | mmc->caps |= MMC_CAP_NONREMOVABLE; | 1989 | mmc->caps |= MMC_CAP_NONREMOVABLE; |
1990 | 1990 | ||
1991 | mmc->pm_caps = mmc_slot(host).pm_caps; | ||
1992 | |||
1991 | omap_hsmmc_conf_bus_power(host); | 1993 | omap_hsmmc_conf_bus_power(host); |
1992 | 1994 | ||
1993 | /* Select DMA lines */ | 1995 | /* Select DMA lines */ |