msm: Makefile: Compile pm-8x60.c and cpuidle for 9x15
Check to compile SCM related code only when CONFIG_MSM_SCM is defined.
Signed-off-by: Maheshkumar Sivasubramanian <msivasub@codeaurora.org>
diff --git a/arch/arm/mach-msm/pm-8x60.c b/arch/arm/mach-msm/pm-8x60.c
index c86fe87..a929659 100644
--- a/arch/arm/mach-msm/pm-8x60.c
+++ b/arch/arm/mach-msm/pm-8x60.c
@@ -1173,7 +1173,7 @@
init_completion(&dev->cpu_killed);
#endif
}
-
+#ifdef CONFIG_MSM_SCM
ret = scm_set_boot_addr((void *)virt_to_phys(msm_pm_boot_entry),
SCM_FLAG_WARMBOOT_CPU0 | SCM_FLAG_WARMBOOT_CPU1);
if (ret) {
@@ -1181,6 +1181,7 @@
__func__, ret);
return ret;
}
+#endif
#ifdef CONFIG_MSM_IDLE_STATS
for_each_possible_cpu(cpu) {