diff options
author | David S. Miller <davem@davemloft.net> | 2008-12-05 18:20:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-05 21:17:08 -0500 |
commit | ad07aed8ca2023bcfe224a5e3e55bafec2c741d0 (patch) | |
tree | 20e01987cba8043df612d372758e74981424715d /arch/sparc | |
parent | 23dc758e47aeb3cc2414c2ec69b7b3e95f447071 (diff) |
sparc: Move of_console_{device,path,options} info prom_common.c
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/prom_32.c | 9 | ||||
-rw-r--r-- | arch/sparc/kernel/prom_64.c | 9 | ||||
-rw-r--r-- | arch/sparc/kernel/prom_common.c | 9 |
3 files changed, 9 insertions, 18 deletions
diff --git a/arch/sparc/kernel/prom_32.c b/arch/sparc/kernel/prom_32.c index 5ad2012ae104..f21e8fc9a8fb 100644 --- a/arch/sparc/kernel/prom_32.c +++ b/arch/sparc/kernel/prom_32.c | |||
@@ -166,15 +166,6 @@ char * __init build_path_component(struct device_node *dp) | |||
166 | return n; | 166 | return n; |
167 | } | 167 | } |
168 | 168 | ||
169 | struct device_node *of_console_device; | ||
170 | EXPORT_SYMBOL(of_console_device); | ||
171 | |||
172 | char *of_console_path; | ||
173 | EXPORT_SYMBOL(of_console_path); | ||
174 | |||
175 | char *of_console_options; | ||
176 | EXPORT_SYMBOL(of_console_options); | ||
177 | |||
178 | extern void restore_current(void); | 169 | extern void restore_current(void); |
179 | 170 | ||
180 | void __init of_console_init(void) | 171 | void __init of_console_init(void) |
diff --git a/arch/sparc/kernel/prom_64.c b/arch/sparc/kernel/prom_64.c index 3afb838a6e61..edecca7b8116 100644 --- a/arch/sparc/kernel/prom_64.c +++ b/arch/sparc/kernel/prom_64.c | |||
@@ -526,15 +526,6 @@ void __init of_fill_in_cpu_data(void) | |||
526 | smp_fill_in_sib_core_maps(); | 526 | smp_fill_in_sib_core_maps(); |
527 | } | 527 | } |
528 | 528 | ||
529 | struct device_node *of_console_device; | ||
530 | EXPORT_SYMBOL(of_console_device); | ||
531 | |||
532 | char *of_console_path; | ||
533 | EXPORT_SYMBOL(of_console_path); | ||
534 | |||
535 | char *of_console_options; | ||
536 | EXPORT_SYMBOL(of_console_options); | ||
537 | |||
538 | void __init of_console_init(void) | 529 | void __init of_console_init(void) |
539 | { | 530 | { |
540 | char *msg = "OF stdout device is: %s\n"; | 531 | char *msg = "OF stdout device is: %s\n"; |
diff --git a/arch/sparc/kernel/prom_common.c b/arch/sparc/kernel/prom_common.c index 95e8e5d1b0fb..2736f3d74c7f 100644 --- a/arch/sparc/kernel/prom_common.c +++ b/arch/sparc/kernel/prom_common.c | |||
@@ -25,6 +25,15 @@ | |||
25 | 25 | ||
26 | #include "prom.h" | 26 | #include "prom.h" |
27 | 27 | ||
28 | struct device_node *of_console_device; | ||
29 | EXPORT_SYMBOL(of_console_device); | ||
30 | |||
31 | char *of_console_path; | ||
32 | EXPORT_SYMBOL(of_console_path); | ||
33 | |||
34 | char *of_console_options; | ||
35 | EXPORT_SYMBOL(of_console_options); | ||
36 | |||
28 | struct device_node *of_find_node_by_phandle(phandle handle) | 37 | struct device_node *of_find_node_by_phandle(phandle handle) |
29 | { | 38 | { |
30 | struct device_node *np; | 39 | struct device_node *np; |