]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PM idle: remove global declaration of pm_idle
authorLen Brown <len.brown@intel.com>
Sun, 10 Feb 2013 02:51:27 +0000 (21:51 -0500)
committerLen Brown <len.brown@intel.com>
Mon, 18 Feb 2013 04:37:09 +0000 (23:37 -0500)
commit558bd3e8dc7a798c5c845f90cf038b9bbd2df2b8
treeb195c62a40c3e72b3bdcd7e53964d960da503e0d
parent6ae236c05d46f48ac3d002a8643cda422f6e79dd
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
include/linux/pm.h