From: Ben Dooks Date: Fri, 8 Aug 2008 20:22:36 +0000 (+0100) Subject: [ARM] S3C24XX: Fix section mismatch for s3c_lookup_cpu X-Git-Tag: v2.6.27-rc4~54^2~17^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ed414fb7b840b2ca8bf033efcd9fe9ea8d6fe800;p=linux-2.6-omap-h63xx.git [ARM] S3C24XX: Fix section mismatch for s3c_lookup_cpu s3c_lookup_cpu is only used at init time, so make it __init. Signed-off-by: Ben Dooks --- diff --git a/arch/arm/plat-s3c24xx/cpu.c b/arch/arm/plat-s3c24xx/cpu.c index 6d60f0476bb..89ce60eabd5 100644 --- a/arch/arm/plat-s3c24xx/cpu.c +++ b/arch/arm/plat-s3c24xx/cpu.c @@ -169,9 +169,7 @@ static struct map_desc s3c_iodesc[] __initdata = { IODESC_ENT(UART) }; - -static struct cpu_table * -s3c_lookup_cpu(unsigned long idcode) +static struct cpu_table * __init s3c_lookup_cpu(unsigned long idcode) { struct cpu_table *tab; int count;