From: Alberto Panizzo Date: Mon, 1 Nov 2010 17:00:03 +0000 (+0100) Subject: ARM: mx3/mach-pcm037_eet: Fix section mismatch for eet_init_devices() X-Git-Tag: v2.6.38-rc1~38^2~3^2~88^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c194daad0e0de94ed5e03aa723eb56b4a3ae9738;p=pandora-kernel.git ARM: mx3/mach-pcm037_eet: Fix section mismatch for eet_init_devices() This function should be marked as __init because it is used only in the init phase. This fix the compiler warning: LD arch/arm/mach-mx3/built-in.o WARNING: arch/arm/mach-mx3/built-in.o(.text+0x1328): Section mismatch in reference from the function eet_init_devices() to the (unknown reference) .init.rodata:(unknown) The function eet_init_devices() references the (unknown reference) __initconst (unknown). This is often because eet_init_devices lacks a __initconst annotation or the annotation of (unknown) is wrong. Signed-off-by: Alberto Panizzo Signed-off-by: Uwe Kleine-König --- Reading git-diff-tree failed