[PATCH] qnap tsx1x: fix section mismatch

Martin Michlmayr tbm at cyrius.com
Fri May 21 14:56:06 EDT 2010


* Arnaud Patard <arnaud.patard at rtp-net.org> [2010-05-12 17:37]:
> Fix the following warning :
> WARNING: vmlinux.o(.text+0x95a0): Section mismatch in reference from the
> function qnap_tsx1x_register_flash() to the (unknown reference) .init.data:(unknown)
> The function qnap_tsx1x_register_flash() references
> the (unknown reference) __initdata (unknown).
> This is often because qnap_tsx1x_register_flash lacks a __initdata
> annotation or the annotation of (unknown) is wrong.
> 
> Signed-off-by: Arnaud Patard <arnaud.patard at rtp-net.org>

Signed-off-by: Martin Michlmayr <tbm at cyrius.com>

-- 
Martin Michlmayr
http://www.cyrius.com/



More information about the linux-arm-kernel mailing list