Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27d8d3bf authored by Russell King's avatar Russell King
Browse files

ARM: omap: fix section mismatch warning in mux.c



WARNING: arch/arm/mach-omap2/built-in.o(.text+0x15a4): Section mismatch in reference from the function omap_mux_init_signals() to the function .init.text:omap_mux_init_signal()
The function omap_mux_init_signals() references
the function __init omap_mux_init_signal().
This is often because omap_mux_init_signals lacks a __init
annotation or the annotation of omap_mux_init_signal is wrong.

Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent a0bb10e8
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1094,7 +1094,7 @@ static void omap_mux_init_package(struct omap_mux *superset,
		omap_mux_package_init_balls(package_balls, superset);
}

static void omap_mux_init_signals(struct omap_mux_partition *partition,
static void __init omap_mux_init_signals(struct omap_mux_partition *partition,
					 struct omap_board_mux *board_mux)
{
	omap_mux_set_cmdline_signals();
@@ -1109,7 +1109,7 @@ static void omap_mux_init_package(struct omap_mux *superset,
{
}

static void omap_mux_init_signals(struct omap_mux_partition *partition,
static void __init omap_mux_init_signals(struct omap_mux_partition *partition,
					 struct omap_board_mux *board_mux)
{
}