aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/boot/compressed/misc.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2011-03-28 06:10:25 +0100
committerNicolas Pitre <nicolas.pitre@linaro.org>2011-03-28 14:45:33 -0400
commit4b816d2650717c2e2e0e1a3d377dbb908c22bae1 (patch)
tree5281e6b0bbe514bfa666a843c8253ddc2ec6cd9c /arch/arm/boot/compressed/misc.c
parent900372202bbf283a297b6cfdf14ba35626ca6a99 (diff)
ARM: 6838/1: etm: fix section mismatch warning
The patch fixes the warning below: WARNING: arch/arm/kernel/built-in.o(.data+0x27c): Section mismatch in reference from the variable etb_driver to the function .init.text:etb_probe() The variable etb_driver references the function __init etb_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, WARNING: arch/arm/kernel/built-in.o(.data+0x2cc): Section mismatch in reference from the variable etm_driver to the function .init.text:etm_probe() The variable etm_driver references the function __init etm_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> (cherry picked from commit 8e8806990cfd91a4ec25df6f00528008c4b0087a)
Diffstat (limited to 'arch/arm/boot/compressed/misc.c')
0 files changed, 0 insertions, 0 deletions