msm: pm-8x60: Expose additional APIs through pm.h

The following two non-static APIs should be exposed in a header
file but are not. Fix this. When the pm-8x60 driver is not used,
use stubs in their place that always return success.

    int msm_pm_wait_cpu_shutdown(unsigned int cpu)
    bool msm_pm_verify_cpu_pc(unsigned int cpu)

msm_pm_set_rpm_wakeup_irq(unsigned int irq) is also specific to
the pm-8x60 driver, so stub it out for targets without pm-8x60,
too.

Change-Id: I257a458a7e435b5cbc3b058a9fb245ea8704ca1a
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
diff --git a/arch/arm/mach-msm/pm.h b/arch/arm/mach-msm/pm.h
index 689cd17..892472b 100644
--- a/arch/arm/mach-msm/pm.h
+++ b/arch/arm/mach-msm/pm.h
@@ -1,7 +1,7 @@
 /* arch/arm/mach-msm/pm.h
  *
  * Copyright (C) 2007 Google, Inc.
- * Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2009-2012, Code Aurora Forum. All rights reserved.
  * Author: San Mehat <san@android.com>
  *
  * This software is licensed under the terms of the GNU General Public
@@ -64,10 +64,14 @@
 
 void __init msm_pm_init_sleep_status_data(
 		struct msm_pm_sleep_status_data *sleep_data);
-#ifdef CONFIG_PM
+#ifdef CONFIG_MSM_PM8X60
 void msm_pm_set_rpm_wakeup_irq(unsigned int irq);
+int msm_pm_wait_cpu_shutdown(unsigned int cpu);
+bool msm_pm_verify_cpu_pc(unsigned int cpu);
 #else
 static inline void msm_pm_set_rpm_wakeup_irq(unsigned int irq) {}
+static inline int msm_pm_wait_cpu_shutdown(unsigned int cpu) { return 0; }
+static inline bool msm_pm_verify_cpu_pc(unsigned int cpu) { return true; }
 #endif
 
 #ifdef CONFIG_HOTPLUG_CPU