• Arnd Bergmann's avatar
    ARM: bcm: mark bcm_kona_smc_init as __init · 721e0205
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Cc: Christian Daudt <csd@broadcom.com>
    721e0205
bcm_kona_smc.c 2.86 KB