浏览代码

[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 年之前
父节点
当前提交
ed414fb7b8
共有 1 个文件被更改,包括 1 次插入3 次删除
  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)
 };
 
-
-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;