Section mismatch in drivers/mfd/vexpress-sysreg.c
Shawn Guo
shawn.guo at linaro.org
Tue Jan 29 06:55:37 EST 2013
Pawel,
I'm building v3.8-rc5 and seeing the following section mismatch warning
in drivers/mfd/vexpress-sysreg.c.
WARNING: drivers/mfd/built-in.o(.text+0x3108): Section mismatch in reference from the function vexpress_sysreg_probe() to the function .init.text:vexpress_sysreg_setup()
The function vexpress_sysreg_probe() references
the function __init vexpress_sysreg_setup().
This is often because vexpress_sysreg_probe lacks a __init
annotation or the annotation of vexpress_sysreg_setup is wrong.
Shawn
More information about the linux-arm-kernel
mailing list