]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: OMAP1: Fix section mismatch for omap1_init_early()
authorTony Lindgren <tony@atomide.com>
Tue, 6 Mar 2012 00:11:04 +0000 (16:11 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 6 Mar 2012 00:11:04 +0000 (16:11 -0800)
Fix the following warning:

WARNING: vmlinux.o(.text+0x1286c): Section mismatch in reference
from the function omap1_init_early() to the function .init.text:omap1_clk_init()
The function omap1_init_early() references
the function __init omap1_clk_init().
This is often because omap1_init_early lacks a __init
annotation or the annotation of omap1_clk_init is wrong.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/io.c

index 8e55b6fb3478becc4c18a02dc976451fcf4adb1e..55a8f582d04c3b7b27c7519d76c99f9fed564401 100644 (file)
@@ -118,7 +118,7 @@ void __init omap16xx_map_io(void)
 /*
  * Common low-level hardware init for omap1.
  */
-void omap1_init_early(void)
+void __init omap1_init_early(void)
 {
        omap_check_revision();