diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-07 03:00:37 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-07 03:00:37 -0400 |
commit | 23abc9ec6a4fbcb3da5475f9f4c25415c466de08 (patch) | |
tree | 90aad5d9e62a484bb0de2809975aabd7c8f9d55b /arch | |
parent | 6a5b518f222449e707e553573f937faf6e57f03d (diff) |
[SPARC64]: Fix section mismatch warnings in arch/sparc64/kernel/console.c
probe_other_fhcs() and central_probe() should be __init
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc64/kernel/central.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/central.c b/arch/sparc64/kernel/central.c index c65b2f9c98d8..8230099f0d8a 100644 --- a/arch/sparc64/kernel/central.c +++ b/arch/sparc64/kernel/central.c | |||
@@ -98,7 +98,7 @@ void apply_central_ranges(struct linux_central *central, | |||
98 | central->num_central_ranges); | 98 | central->num_central_ranges); |
99 | } | 99 | } |
100 | 100 | ||
101 | void * __init central_alloc_bootmem(unsigned long size) | 101 | static void * __init central_alloc_bootmem(unsigned long size) |
102 | { | 102 | { |
103 | void *ret; | 103 | void *ret; |
104 | 104 | ||
@@ -116,7 +116,7 @@ static unsigned long prom_reg_to_paddr(struct linux_prom_registers *r) | |||
116 | return ret | (unsigned long) r->phys_addr; | 116 | return ret | (unsigned long) r->phys_addr; |
117 | } | 117 | } |
118 | 118 | ||
119 | static void probe_other_fhcs(void) | 119 | static void __init probe_other_fhcs(void) |
120 | { | 120 | { |
121 | struct device_node *dp; | 121 | struct device_node *dp; |
122 | const struct linux_prom64_registers *fpregs; | 122 | const struct linux_prom64_registers *fpregs; |
@@ -298,7 +298,7 @@ static void init_all_fhc_hw(void) | |||
298 | 298 | ||
299 | } | 299 | } |
300 | 300 | ||
301 | void central_probe(void) | 301 | void __init central_probe(void) |
302 | { | 302 | { |
303 | struct linux_prom_registers fpregs[6]; | 303 | struct linux_prom_registers fpregs[6]; |
304 | const struct linux_prom_registers *pr; | 304 | const struct linux_prom_registers *pr; |