Messages in this thread Patch in this message | | | From | Len Brown <> | Subject | [PATCH 15/16] PM idle: remove global declaration of pm_idle | Date | Sun, 10 Feb 2013 00:58:22 -0500 |
| |
From: Len Brown <len.brown@intel.com>
pm_idle appears in no generic Linux code, it appears only in architecture-specific code.
Thus, pm_idle should not be declared in pm.h.
Architectures that use an idle function pointer should delcare one local to their architecture, and/or use cpuidle.
Signed-off-by: Len Brown <len.brown@intel.com> Cc: linux-pm@vger.kernel.org --- include/linux/pm.h | 1 - 1 file changed, 1 deletion(-)
diff --git a/include/linux/pm.h b/include/linux/pm.h index 03d7bb1..97bcf23 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -31,7 +31,6 @@ /* * Callbacks for platform drivers to implement. */ -extern void (*pm_idle)(void); extern void (*pm_power_off)(void); extern void (*pm_power_off_prepare)(void); -- 1.8.1.3.535.ga923c31
| |