From: Uwe Kleine-König Date: Fri, 30 Mar 2012 20:29:20 +0000 (+0200) Subject: ARM: davinci: da850-evm: fix section mismatch X-Git-Tag: v3.5-rc1~155^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59858b718efe12a7dbba72a158ea2edfc516b216;p=pandora-kernel.git ARM: davinci: da850-evm: fix section mismatch This fixes: WARNING: arch/arm/mach-davinci/built-in.o(.text+0x2d84): Section mismatch in reference from the function da850_evm_ui_expander_setup() to the (unknown reference) .init.data:(unknown) The function da850_evm_ui_expander_setup() references the (unknown reference) __initdata (unknown). This is often because da850_evm_ui_expander_setup lacks a __initdata annotation or the annotation of (unknown) is wrong. Note this is a real issue because if the tca6416 driver only binds when the init sections are already discarded da850_evm_ui_expander_setup is called when da850_evm_devices might already be overwritten. Signed-off-by: Uwe Kleine-König Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed