From: Arnd Bergmann Date: Tue, 23 Apr 2013 14:06:40 +0000 (+0200) Subject: ARM: bcm: mark bcm_kona_smc_init as __init X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~45^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=721e0205b07589223343737a9c421d8118d87bba;p=pandora-kernel.git ARM: bcm: mark bcm_kona_smc_init as __init The bcm_kona_smc_init function references the bcm_kona_smc_ids variable that is marked __initconst, so the function itself has to be __init to avoid this build error: WARNING: arch/arm/mach-bcm/built-in.o(.text+0x12c): Section mismatch in reference from the function bcm_kona_smc_init() to the (unknown reference) .init.rodata:(unknown) Signed-off-by: Arnd Bergmann Cc: Christian Daudt --- Reading git-diff-tree failed