]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] S3C24XX: Fix section mismatch for s3c_lookup_cpu
authorBen Dooks <ben-linux@fluff.org>
Fri, 8 Aug 2008 20:22:36 +0000 (21:22 +0100)
committerBen Dooks <ben-linux@fluff.org>
Sat, 9 Aug 2008 12:51:54 +0000 (13:51 +0100)
s3c_lookup_cpu is only used at init time, so make
it __init.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c24xx/cpu.c

index 6d60f0476bb850e949056924d829920e8b797f5b..89ce60eabd5bd6d68304608bdad6521b2a6acd6e 100644 (file)
@@ -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;