From bfd033e8d48306e431481ba6d43fa36f2125f785 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 18 Jun 2012 14:45:34 +0000 Subject: STM32 power management update git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4848 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/nuttx/power/pm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nuttx/include') diff --git a/nuttx/include/nuttx/power/pm.h b/nuttx/include/nuttx/power/pm.h index c75f5e691..86e23f090 100644 --- a/nuttx/include/nuttx/power/pm.h +++ b/nuttx/include/nuttx/power/pm.h @@ -307,10 +307,12 @@ struct pm_callback_s * Returned Value: * None. The driver already agreed to transition to the low power * consumption state when when it returned OK to the prepare() call. + * At that time it should have made all preprations necessary to enter + * the new state. Now the driver must make the state transition. * **************************************************************************/ - int (*notify)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate); + void (*notify)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate); }; /**************************************************************************** -- cgit v1.2.3