Browse Source

[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 <ben-linux@fluff.org>
Ben Dooks 17 năm trước cách đây
mục cha
commit
ed414fb7b8
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      arch/arm/plat-s3c24xx/cpu.c

+ 1 - 3
arch/arm/plat-s3c24xx/cpu.c

@@ -169,9 +169,7 @@ static struct map_desc s3c_iodesc[] __initdata = {
 	IODESC_ENT(UART)
 	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;
 	struct cpu_table *tab;
 	int count;
 	int count;