diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-08-08 16:22:36 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-08-09 08:51:54 -0400 |
commit | ed414fb7b840b2ca8bf033efcd9fe9ea8d6fe800 (patch) | |
tree | 108a224d008f5b7a0944d6fee362c5f4470215f2 /arch/arm/plat-s3c24xx/cpu.c | |
parent | e38d523fd0932a5d4ef2865360d8828efcf05392 (diff) |
[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>
Diffstat (limited to 'arch/arm/plat-s3c24xx/cpu.c')
-rw-r--r-- | arch/arm/plat-s3c24xx/cpu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/plat-s3c24xx/cpu.c b/arch/arm/plat-s3c24xx/cpu.c index 6d60f0476bb8..89ce60eabd5b 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 = { | |||
169 | IODESC_ENT(UART) | 169 | IODESC_ENT(UART) |
170 | }; | 170 | }; |
171 | 171 | ||
172 | 172 | static struct cpu_table * __init s3c_lookup_cpu(unsigned long idcode) | |
173 | static struct cpu_table * | ||
174 | s3c_lookup_cpu(unsigned long idcode) | ||
175 | { | 173 | { |
176 | struct cpu_table *tab; | 174 | struct cpu_table *tab; |
177 | int count; | 175 | int count; |