]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: clk_disable_unused: init section mismatch
authorKevin Hilman <khilman@mvista.com>
Fri, 2 Nov 2007 00:12:02 +0000 (17:12 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 15 Nov 2007 20:54:23 +0000 (12:54 -0800)
commit5a4627f670f6ac2511f2b858dbf1aee0cb0fd842
tree10b3612262b3cb3d31c606b592a0e652c3242df0
parent69287ff79f01c1ca5e44799227cf859ae7a1d91c
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
arch/arm/mach-omap2/clock.h