diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2010-02-15 13:03:34 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-15 13:03:34 -0500 |
commit | e3df0fb4132fff8717cb0c08403c12138fd3ae39 (patch) | |
tree | 5a8d9101ae56fb610e0661f9e6b23c3d223c99c3 | |
parent | 68ff04231ce9128d400f47762ae3c921be79cd49 (diff) |
omap: Reconnect hsmmc context loss count
Call the PM context-loss count function, now that there
is a prototype for it.
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/hsmmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/hsmmc.c b/arch/arm/mach-omap2/hsmmc.c index 2ba0d55c323d..cc7e77f09268 100644 --- a/arch/arm/mach-omap2/hsmmc.c +++ b/arch/arm/mach-omap2/hsmmc.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <mach/hardware.h> | 16 | #include <mach/hardware.h> |
17 | #include <plat/control.h> | 17 | #include <plat/control.h> |
18 | #include <plat/mmc.h> | 18 | #include <plat/mmc.h> |
19 | #include <plat/omap-pm.h> | ||
19 | 20 | ||
20 | #include "hsmmc.h" | 21 | #include "hsmmc.h" |
21 | 22 | ||
@@ -34,8 +35,7 @@ static struct hsmmc_controller { | |||
34 | 35 | ||
35 | static int hsmmc_get_context_loss(struct device *dev) | 36 | static int hsmmc_get_context_loss(struct device *dev) |
36 | { | 37 | { |
37 | /* FIXME: PM DPS not implemented yet */ | 38 | return omap_pm_get_dev_context_loss_count(dev); |
38 | return 0; | ||
39 | } | 39 | } |
40 | 40 | ||
41 | #else | 41 | #else |