msm: move pm and cpuidle to machine include directory
Some drivers need to know if a cpu exited out from a idle sleep.
Move the cpuidle.h which contains prototypes for the notifier registration
and pm.h which contains the sleep state definitions to include/mach.
The drivers interested in knowing exit and entry in to idle states need to
register with the notifier using msm_cpuidle_register_notifier.
Change-Id: I204860313a57840c32f2256bd8682eafe678dad8
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
diff --git a/arch/arm/mach-msm/cpuidle.c b/arch/arm/mach-msm/cpuidle.c
index 6738955..abaa925 100644
--- a/arch/arm/mach-msm/cpuidle.c
+++ b/arch/arm/mach-msm/cpuidle.c
@@ -16,8 +16,8 @@
#include <linux/cpuidle.h>
#include <linux/cpu_pm.h>
-#include "cpuidle.h"
-#include "pm.h"
+#include <mach/cpuidle.h>
+#include <mach/pm.h>
static DEFINE_PER_CPU_SHARED_ALIGNED(struct cpuidle_device, msm_cpuidle_devs);
static struct cpuidle_driver msm_cpuidle_driver = {