From: Adrian Hunter Date: Mon, 15 Feb 2010 18:03:34 +0000 (-0800) Subject: omap: Reconnect hsmmc context loss count X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e3df0fb4132fff8717cb0c08403c12138fd3ae39;p=linux-beck.git 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 Signed-off-by: Tony Lindgren --- 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 @@ #include #include #include +#include #include "hsmmc.h" @@ -34,8 +35,7 @@ static struct hsmmc_controller { static int hsmmc_get_context_loss(struct device *dev) { - /* FIXME: PM DPS not implemented yet */ - return 0; + return omap_pm_get_dev_context_loss_count(dev); } #else