msm: headsmp: Fix section mismatch warning

WARNING: vmlinux.o(.text+0x19c94): Section mismatch in reference
from the variable pen to the function
.cpuinit.text:secondary_startup()
The function pen() references
the function __cpuinit secondary_startup().
This is often because pen lacks a __cpuinit
annotation or the annotation of secondary_startup is wrong.

We use __ref for pm code because generic cpu hotplug code uses
__ref.  Fixing that problem is much larger in scope and the pm
code is correctly using the symbol.

Change-Id: I13906d525683d91def39703942ba1c8850b73494
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/mach-msm/pm2.c b/arch/arm/mach-msm/pm2.c
index 4f3c7e4..39e321a 100644
--- a/arch/arm/mach-msm/pm2.c
+++ b/arch/arm/mach-msm/pm2.c
@@ -1410,7 +1410,7 @@
  * Return value:
  *      0: success
  */
-static int msm_pm_power_collapse_standalone(bool from_idle)
+static int __ref msm_pm_power_collapse_standalone(bool from_idle)
 {
 	int collapsed = 0;
 	int ret;