]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix section mismatch warning in dsp_common.c
authorDirk Behme <dirk.behme@googlemail.com>
Fri, 18 May 2007 07:14:25 +0000 (09:14 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 18 May 2007 15:47:03 +0000 (08:47 -0700)
Fix

WARNING: arch/arm/plat-omap/built-in.o - Section mismatch: reference
to .init.text: from .text between 'dsp_cpustat_update' (at offset
0x7c40) and 'do_release_mem'

If init_dsp isn't set, dsp_cpustat_update() calls omap_dsp_init(). So
don't declare omap_dsp_init() as __init.

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dsp/dsp_common.c

index cfb2bbc0e49b7f56f3d85fb9491de80f351370ba..c5d634df4eb14a49b00d45ceeac854c3e51a9bd9 100644 (file)
@@ -268,7 +268,7 @@ void dsp_reset_idle_boot_base(void) { }
 
 static int init_done;
 
-static int __init omap_dsp_init(void)
+static int omap_dsp_init(void)
 {
        mutex_init(&cpustat.lock);