qnap tsx1x: fix section mismatch
PATCH 1/1 qnap tsx1x: fix section mismatch
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.
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tsx1x_section_mismatch.patch
Type: text/x-diff
Size: 615 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100512/812d16ed/attachment.bin>
PATCH 1/1 qnap tsx1x: fix section mismatch
Quoted 9 lines · Arnaud Patard
Fix the following warning :
WARNING:vmlinux.o(.text+0x95a0): Section mismatch in reference from the functionqnap_tsx1x_register_flash()to the (unknown reference) .init.data:(unknown) The functionqnap_tsx1x_register_flash()references
the (unknown reference)__initdata(unknown).
This is often becauseqnap_tsx1x_register_flashlacks a__initdataannotation or the annotation of (unknown) is wrong.Signed-off-by Arnaud Patard <[email protected]>
Signature · 2 lines
Martin Michlmayr http://www.cyrius.com/