aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2012-04-30 14:00:15 +0000
committerArnd Bergmann <[email protected]>2012-10-07 10:33:08 +0200
commit5063557ac0e83a52182fd0d49e83cc770e52ccd1 (patch)
tree70100e9796de3d803a923fbcd3aacf49602789aa /lib/string_helpers.c
parent58cbdbe0248d0bf3eed47a9ac69d330a140726a9 (diff)
ARM: davinci: don't mark da850_register_cpufreq as __init
The mityomapl138_cpufreq_init and read_factory_config function in board-mityomapl138.c are not __init functions and might be called at a later stage, so da850_register_cpufreq must not be __init either. Without this patch, building da8xx_omapl_defconfig results in: WARNING: arch/arm/mach-davinci/built-in.o(.text+0x2eb4): Section mismatch in reference from the function read_factory_config() to the function .init.text:da850_register_cpufreq() The function read_factory_config() references the function __init da850_register_cpufreq(). This is often because read_factory_config lacks a __init annotation or the annotation of da850_register_cpufreq is wrong. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Sekhar Nori <[email protected]> Cc: Kevin Hilman <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions