Commit ad07aed8 authored by David S. Miller's avatar David S. Miller

sparc: Move of_console_{device,path,options} info prom_common.c

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 23dc758e
...@@ -166,15 +166,6 @@ char * __init build_path_component(struct device_node *dp) ...@@ -166,15 +166,6 @@ char * __init build_path_component(struct device_node *dp)
return n; return n;
} }
struct device_node *of_console_device;
EXPORT_SYMBOL(of_console_device);
char *of_console_path;
EXPORT_SYMBOL(of_console_path);
char *of_console_options;
EXPORT_SYMBOL(of_console_options);
extern void restore_current(void); extern void restore_current(void);
void __init of_console_init(void) void __init of_console_init(void)
......
...@@ -526,15 +526,6 @@ void __init of_fill_in_cpu_data(void) ...@@ -526,15 +526,6 @@ void __init of_fill_in_cpu_data(void)
smp_fill_in_sib_core_maps(); smp_fill_in_sib_core_maps();
} }
struct device_node *of_console_device;
EXPORT_SYMBOL(of_console_device);
char *of_console_path;
EXPORT_SYMBOL(of_console_path);
char *of_console_options;
EXPORT_SYMBOL(of_console_options);
void __init of_console_init(void) void __init of_console_init(void)
{ {
char *msg = "OF stdout device is: %s\n"; char *msg = "OF stdout device is: %s\n";
......
...@@ -25,6 +25,15 @@ ...@@ -25,6 +25,15 @@
#include "prom.h" #include "prom.h"
struct device_node *of_console_device;
EXPORT_SYMBOL(of_console_device);
char *of_console_path;
EXPORT_SYMBOL(of_console_path);
char *of_console_options;
EXPORT_SYMBOL(of_console_options);
struct device_node *of_find_node_by_phandle(phandle handle) struct device_node *of_find_node_by_phandle(phandle handle)
{ {
struct device_node *np; struct device_node *np;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment