ARM: msm: Fix section mismatches in proc_comm.c
authorDavid Brown <davidb@codeaurora.org>
Thu, 12 Apr 2012 18:36:50 +0000 (11:36 -0700)
committerDavid Brown <davidb@codeaurora.org>
Fri, 13 Apr 2012 17:23:17 +0000 (10:23 -0700)
The change
    commit 4416e9eb0b4859b3d28016c5fd0a609bdcbc8a2a
    Author: Gregory Bean <gbean@codeaurora.org>
    Date:   Wed Jul 28 10:22:12 2010 -0700

        arm: msm: Fix section mismatch in smd.c.

fixes a section mismatch between the board file and the smd driver's
probe function, however, it misses the additional mismatches between
the probe function and some routines it calls.  Fix these up as well.

Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/proc_comm.c

index 67e701c..9980dc7 100644 (file)
@@ -121,7 +121,7 @@ int msm_proc_comm(unsigned cmd, unsigned *data1, unsigned *data2)
  * and unknown state. This function should be called early to
  * wait on the ARM9.
  */
-void __init proc_comm_boot_wait(void)
+void __devinit proc_comm_boot_wait(void)
 {
        void __iomem *base = MSM_SHARED_RAM_BASE;