diff options
author | Len Brown <len.brown@intel.com> | 2013-02-10 06:51:27 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2013-02-18 08:37:09 +0400 |
commit | 558bd3e8dc7a798c5c845f90cf038b9bbd2df2b8 (patch) | |
tree | b195c62a40c3e72b3bdcd7e53964d960da503e0d /include/linux/pm.h | |
parent | 6ae236c05d46f48ac3d002a8643cda422f6e79dd (diff) | |
download | linux-558bd3e8dc7a798c5c845f90cf038b9bbd2df2b8.tar.xz |
PM idle: remove global declaration of pm_idle
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>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Tested-by: Kevin Hilman <khilman@linaro.org>
Cc: linux-pm@vger.kernel.org
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r-- | include/linux/pm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h index 03d7bb145311..97bcf23e045a 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); |