From: Alberto Panizzo Date: Mon, 1 Nov 2010 17:00:03 +0000 (+0100) Subject: mach-pcm037_eet: Fix section mismatch for eet_init_devices() X-Git-Tag: v2.6.37-rc4~31^2~4^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0573e6db1d1e637e20011f40264b2f5b5880587;p=pandora-kernel.git 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: Sascha Hauer --- Reading git-diff-tree failed