]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: clk_disable_unused: init section mismatch
authorKevin Hilman <khilman@mvista.com>
Thu, 1 Nov 2007 17:18:14 +0000 (10:18 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 15 Nov 2007 20:41:06 +0000 (12:41 -0800)
commit669bbebe52d3c3733deb3f1b1d4e3d77e859ce5b
treea8e246e46a1bca902032625ffe1cd154770071eb
parent81c08cbbf4881426a929089df1d0112ec4c9c853
ARM: OMAP: clk_disable_unused: init section mismatch

Fix the following warning when OMAP_RESET_CLOCKS is enabled:

WARNING: vmlinux.o(.data+0x33a0): Section mismatch: reference to .init.text:omap2_clk_disable_unused (between 'omap2_clk_functions' and 'osc_ck')

omap2_clk_disable_unused cannot be declared __init as it part of a
struct where the rest of the functions are not __init.

Signed-off-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c