Message ID | alpine.DEB.2.00.1012071548490.13430@utopia.booyaka.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Kevin Hilman |
Headers | show |
diff --git a/arch/arm/plat-omap/omap-pm-noop.c b/arch/arm/plat-omap/omap-pm-noop.c index e129ce8..781aa5f 100644 --- a/arch/arm/plat-omap/omap-pm-noop.c +++ b/arch/arm/plat-omap/omap-pm-noop.c @@ -30,6 +30,8 @@ struct omap_opp *dsp_opps; struct omap_opp *mpu_opps; struct omap_opp *l3_opps; +static int dummy_context_loss_counter; + /* * Device-driver-originated constraints (via board-*.c files) */ @@ -303,7 +305,7 @@ int omap_pm_get_dev_context_loss_count(struct device *dev) * off counter. */ - return 0; + return dummy_context_loss_counter++; }