msm: spm_devices: Fix section mismatch

WARNING: vmlinux.o(.devinit.text+0x63c): Section mismatch in
reference from the function msm_spm_dev_probe() to the function
.init.text:msm_spm_dev_init()
The function __devinit msm_spm_dev_probe() references
a function __init msm_spm_dev_init().
If msm_spm_dev_init is only used by msm_spm_dev_probe then
annotate msm_spm_dev_init with a matching annotation.

WARNING: arch/arm/mach-msm/built-in.o(.devinit.text+0x258):
Section mismatch in reference from the function T.218() to the
function .init.text:msm_spm_drv_init()
The function __devinit T.218() references
a function __init msm_spm_drv_init().
If msm_spm_drv_init is only used by T.218 then
annotate msm_spm_drv_init with a matching annotation.

Change-Id: I7a76ebcc57b958c2eb707d1c886399406770b1fc
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/mach-msm/spm-v2.c b/arch/arm/mach-msm/spm-v2.c
index 051d4de..b6d5324 100644
--- a/arch/arm/mach-msm/spm-v2.c
+++ b/arch/arm/mach-msm/spm-v2.c
@@ -418,7 +418,7 @@
 	mb();
 }
 
-int __init msm_spm_drv_init(struct msm_spm_driver_data *dev,
+int __devinit msm_spm_drv_init(struct msm_spm_driver_data *dev,
 		struct msm_spm_platform_data *data)
 {
 	int i;
diff --git a/arch/arm/mach-msm/spm_devices.c b/arch/arm/mach-msm/spm_devices.c
index 838ec55..2980811 100644
--- a/arch/arm/mach-msm/spm_devices.c
+++ b/arch/arm/mach-msm/spm_devices.c
@@ -92,7 +92,7 @@
 	return ret;
 }
 
-static int __init msm_spm_dev_init(struct msm_spm_device *dev,
+static int __devinit msm_spm_dev_init(struct msm_spm_device *dev,
 		struct msm_spm_platform_data *data)
 {
 	int i, ret = -ENOMEM;