ARM: bcm: mark bcm_kona_smc_init as __init
authorArnd Bergmann <arnd@arndb.de>
Tue, 23 Apr 2013 14:06:40 +0000 (16:06 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 23 Apr 2013 15:43:32 +0000 (17:43 +0200)
commit721e0205b07589223343737a9c421d8118d87bba
tree0bb16e9835736349cedba63f6d2006726af11045
parent5724c52fbef16f17af3b92c6cae4fda391beb84c
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 <arnd@arndb.de>
Cc: Christian Daudt <csd@broadcom.com>
arch/arm/mach-bcm/bcm_kona_smc.c