OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e38d523
)
[ARM] S3C24XX: Fix section mismatch for s3c_lookup_cpu
author
Ben Dooks
<ben-linux@fluff.org>
Fri, 8 Aug 2008 20:22:36 +0000
(21:22 +0100)
committer
Ben 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
patch
|
blob
|
history
diff --git
a/arch/arm/plat-s3c24xx/cpu.c
b/arch/arm/plat-s3c24xx/cpu.c
index
6d60f04
..
89ce60e
100644
(file)
--- 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;