Skip to content

Commit

Permalink
ARM: OMAP1: Fix section mismatch for omap1_init_early()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tony Lindgren committed Mar 6, 2012
1 parent 33c3f71 commit 8eaa7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap1/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 8eaa7bb

Please sign in to comment.